Einzelnen Beitrag anzeigen

Benutzerbild von SnuffMaster23
SnuffMaster23

Registriert seit: 13. Feb 2006
Ort: Kempten
253 Beiträge
 
#7

Re: C++ nach Delphi übersetzen

  Alt 23. Feb 2007, 12:07
Tja, so weit war auch auch schon...

Und ich hab schon den nächsten Stolperstein:
Code:
   // BB_REDRAWGUI wParam bitflags:
     BBRG_TOOLBAR (1<<0)
     BBRG_MENU   (1<<1)
     BBRG_WINDOW (1<<2)
     BBRG_DESK   (1<<3)
     BBRG_FOCUS  (1<<4)
     BBRG_PRESSED (1<<5)
     BBRG_STICKY (1<<6)
     BBRG_FOLDER (1<<7)
Da es um Flags geht nehm ich mal an dass << ein bitweiser Operator ist. Ist das in Delphi vielleicht shl?


//Edit:
Code:
typedef struct StyleItem
{
   int bevelstyle;
   int bevelposition;
.
.
.
   COLORREF bulletColor;
   //bool FontShadow; xoblite extension
} StyleItem;
Das gibt einen record-Typ denk ich, hat das eine Bedeutung dass da zweimal StyleItem steht?

Code:
char Font[256-20];       //steht innerhalb der typedef von oben
---------------

#define PicColor TextColor

class Menu;
class MenuItem;
Damit kann ich nichts anfangen...
"Conspiracy is the poor man's mapping of the world" - Fredric Jameson
  Mit Zitat antworten Zitat