#include "dlgmgr.h"
Go to the source code of this file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 154 of file basebar.h. 00155 { 00156 BUTTON, 00157 BITMAPBUTTON, 00158 SMALLBITMAPBUTTON, 00159 STATICBITMAP, 00160 DECKER_TOP, 00161 DECKER_BOTTOM, 00162 DECKER_END, 00163 SEPARATOR, 00164 LINEFEED, 00165 COMBO, 00166 EDIT, 00167 LIST, 00168 STATIC, 00169 SCROLLBAR, 00170 TEXT3D, 00171 ROTATEGRID, 00172 OTHERCONTROL, 00173 SLIDER, 00174 BITMAPCOMBO1D, 00175 BITMAPCOMBO2D, 00176 UNKNOWN_ITEM 00177 } BarItemType;
|
|
Definition at line 134 of file basebar.h.
|
|
Definition at line 150 of file basebar.h.
|
|
Definition at line 152 of file basebar.h.
|
|
Definition at line 131 of file basebar.h. 00131 { SMALL_DDECKERS = 13, LARGE_DDECKERS = 16 };
|
|
Definition at line 148 of file basebar.h. 00148 {DDECKER_NONE,DDECKER_TOP,DDECKER_BOTTOM};
|
|
Definition at line 137 of file basebar.h. 00137 { NONE = 0, MOVE, GROW_NORTH, GROW_SOUTH, GROW_EAST, GROW_WEST, 00138 GROW_SOUTHEAST,GROW_NORTHEAST,GROW_SOUTHWEST,GROW_NORTHWEST, TRYING };
|
|
Definition at line 146 of file basebar.h. 00146 { USE_BAR,FORCE_SMALL,FORCE_LARGE};
|
|
Definition at line 141 of file basebar.h.
|
|
Definition at line 143 of file basebar.h. 00143 { SMALL_SEPARATOR = 6,LARGE_SEPARATOR = 10};
|
|
To return an enumerated BarType from a BarItem.
Definition at line 229 of file basebar2.cpp. 00230 { 00231 PORTNOTETRACE( "dialog", "GetEnumItemType - do nothing" ); 00232 #ifndef EXCLUDE_FROM_XARALX 00233 if(Item == NULL) 00234 return UNKNOWN_ITEM; 00235 if (Item->IsKindOf(CC_RUNTIME_CLASS(BarControl))) 00236 { 00237 HWND hcontrol=(HWND)((BarControl*)Item)->GetWinID(); // Get the Window Handle 00238 00239 String_256 ClassNameStr; 00240 00241 GetClassName(hcontrol, (TCHAR*)ClassNameStr, 255); // Check type of control 00242 if (ClassNameStr == String_16(TEXT("cc_BitmapButton"))) 00243 return BITMAPBUTTON; 00244 if (ClassNameStr == String_16(TEXT("Button"))) 00245 return BUTTON; 00246 if (ClassNameStr == String_16(TEXT("cc_SmallButton"))) 00247 return SMALLBITMAPBUTTON; 00248 if (ClassNameStr == String_16(TEXT("Static"))) 00249 return STATIC; 00250 if (ClassNameStr == String_16(TEXT("ComboBox"))) 00251 return COMBO; 00252 if (ClassNameStr == String_16(TEXT("Edit"))) 00253 return EDIT; 00254 if (ClassNameStr == String_16(TEXT("cc_StaticBitmap"))) 00255 return STATICBITMAP; 00256 if (ClassNameStr == String_16(TEXT("cc_Grid"))) 00257 return ROTATEGRID; 00258 if (ClassNameStr == String_16(TEXT("cc_Text3D"))) 00259 return TEXT3D; 00260 if (ClassNameStr == String_16(TEXT("cc_Slider"))) 00261 return SLIDER; 00262 if (ClassNameStr == String_64(TEXT("cc_1dBitmapComboBoxEdit"))) 00263 return BITMAPCOMBO1D; 00264 if (ClassNameStr == String_64(TEXT("cc_2dBitmapComboBoxEdit"))) 00265 return BITMAPCOMBO2D; 00266 return OTHERCONTROL; 00267 } 00268 00269 if ( Item->IsKindOf(CC_RUNTIME_CLASS(BarSeparator)) ) 00270 return SEPARATOR; 00271 if ( Item->IsKindOf(CC_RUNTIME_CLASS(BarLineFeed)) ) 00272 return LINEFEED; 00273 if ( Item->IsKindOf(CC_RUNTIME_CLASS(DDeckerTop))) 00274 return DECKER_TOP; 00275 if ( Item->IsKindOf(CC_RUNTIME_CLASS(DDeckerBottom))) 00276 return DECKER_BOTTOM; 00277 if ( Item->IsKindOf(CC_RUNTIME_CLASS(DDeckerEnd))) 00278 return DECKER_END; 00279 ENSURE(FALSE,"Unknown Bar Item"); 00280 #endif 00281 return UNKNOWN_ITEM; 00282 }
|