119SoDEPRECATED SoNONUNICODE
static void displayHelp(
const char* filename, UINT contextID);
191 SoWidget
getShellWidget()
const {
return m_guiComponent->isTopLevelShell() ? parentWidget : NULL; }
244 SoNONUNICODE
void setTitle(
const char* newTitle );
296 { windowCloseFunc = func; windowCloseData = data; }
340 SoWidget baseWidget()
const {
return getWidget(); }
342 static void exitClass();
371 SbBool buildInsideParent = TRUE,
382 void setBaseWidget( SoWidget w );
386 void setClassName(
const SbString& n ) { m_guiComponent->setClassName( n ); }
394 virtual void windowCloseAction();
399 virtual void afterRealizeHook();
408 virtual SbString getDefaultWidgetName()
const;
409 virtual SbString getDefaultTitle()
const;
410 virtual SbString getDefaultIconTitle()
const;
425 void registerWidget( SoWidget w );
426 void unregisterWidget( SoWidget w );
432 void addVisibilityChangeCallback( SoWinComponentVisibilityCB* func,
433 void* userData = NULL );
434 void removeVisibilityChangeCallback( SoWinComponentVisibilityCB* func,
435 void* userData = NULL );
453 static void openHelpPage(
const SbString& helpPage );
458 SoWidget buildFormWidget( SoWidget parent );
460 void setResize(
SbBool nResize ) { m_nResizeBaseWidget = nResize; }
461 SbBool getResize() {
return m_nResizeBaseWidget ; }
464 static HPALETTE _setupColorPalette( HDC );
466 void unSubclassDialog( Hwnd hWnd );
467 void subclassDialog( Hwnd hWnd );
468 void drawDialogIcon( Hwnd hWnd );
470 static LRESULT CALLBACK dlgWndProc( Hwnd hwnd, UINT message,
471 WPARAM wParam, LPARAM lParam );
472 static Hwnd getMDIAncestor( Hwnd win );
484 static void windowCloseActionCB(SoWidget,
SoWinComponent *,
void *);
485 static int ChoosePixelFormatOIV( HDC hdc,
int pixelType,
int glModes, PIXELFORMATDESCRIPTOR* pfd );
489 void constructorCommon( SoWidget parent,
const SbString& name,
SbBool buildInsideParent,
SbBool sync );
495 virtual void widgetDestroyed();
498 SoWidget parentWidget;
499 SoWidget _baseWidget;
504 SbBool ShellMapped, widgetMapped;
506 void checkForVisibilityChange();
511 long style, extStyle;
518 void* windowCloseData;
522 static SbDict* widgetDictionary;
526 WNDPROC parentWndProc;
527 WNDPROC origDlgWndProc;
531 SbBool m_nResizeBaseWidget;
533 static void OnWmSize( Hwnd hwnd, UINT message,
534 WPARAM wParam, LPARAM lParam );
535 static void OnWmPaint( Hwnd hwnd, UINT message,
536 WPARAM wParam, LPARAM lParam );
537 static void OnWmDestroy( Hwnd hwnd, UINT message,
538 WPARAM wParam, LPARAM lParam );
541 static LRESULT CALLBACK componentWndProc( Hwnd hwnd, UINT message,
542 WPARAM wParam, LPARAM lParam );
543 static LRESULT CALLBACK formWindowProc( Hwnd hwnd, UINT message,
544 WPARAM wParam, LPARAM lParam );