21 #ifndef FXMENUCAPTION_H 22 #define FXMENUCAPTION_H 33 MENU_AUTOGRAY = 0x00008000,
34 MENU_AUTOHIDE = 0x00010000
73 long onPaint(
FXObject*,FXSelector,
void*);
74 long onUpdate(
FXObject*,FXSelector,
void*);
75 long onCmdSetValue(
FXObject*,FXSelector,
void*);
76 long onCmdGetStringValue(
FXObject*,FXSelector,
void*);
77 long onCmdSetStringValue(
FXObject*,FXSelector,
void*);
78 long onCmdSetIconValue(
FXObject*,FXSelector,
void*);
79 long onCmdGetIconValue(
FXObject*,FXSelector,
void*);
80 long onCmdSetHelp(
FXObject*,FXSelector,
void*);
81 long onCmdGetHelp(
FXObject*,FXSelector,
void*);
82 long onCmdSetTip(
FXObject*,FXSelector,
void*);
83 long onCmdGetTip(
FXObject*,FXSelector,
void*);
84 long onQueryHelp(
FXObject*,FXSelector,
void*);
85 long onQueryTip(
FXObject*,FXSelector,
void*);
92 virtual void create();
95 virtual void detach();
98 virtual void enable();
101 virtual void disable();
104 virtual FXint getDefaultWidth();
107 virtual FXint getDefaultHeight();
110 void setTextAndHotKey(
const FXString& hotkeytext);
125 void setFont(
FXFont* fnt);
131 void setMenuStyle(FXuint style);
134 FXuint getMenuStyle()
const;
137 void setTextColor(FXColor clr);
143 void setSelBackColor(FXColor clr);
149 void setSelTextColor(FXColor clr);
155 void setHiliteColor(FXColor clr);
161 void setShadowColor(FXColor clr);
167 void setHelpText(
const FXString& text);
179 virtual void save(
FXStream& store)
const;
Window is the base class for all widgets in FOX.
Definition: FXWindow.h:130
Base composite.
Definition: FXComposite.h:32
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
Definition: FX4Splitter.h:28
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:42
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:134
Font class.
Definition: FXFont.h:137
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42