`pre create window` C++ Examples
9 C++ code examples are found related to "pre create window".
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
Example 1
Source File: ChildFrm.cpp From Serious-Engine with GNU General Public License v2.0 | 5 votes |
BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs) { //if( !CMDIChildWnd::PreCreateWindow(cs) ) // return FALSE; cs.style |= WS_VISIBLE | WS_MAXIMIZE; return CMDIChildWnd::PreCreateWindow(cs); }
Example 2
Source File: MainFrm.cpp From CChart with MIT License | 5 votes |
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) { if( !CFrameWnd::PreCreateWindow(cs) ) return FALSE; // TODO: Modify the Window class or styles here by modifying // the CREATESTRUCT cs return TRUE; }
Example 3
Source File: DispQ.cpp From mq-rfhutil with Apache License 2.0 | 5 votes |
BOOL CDispQ::PreCreateWindow(CREATESTRUCT& cs) { // initialize the window title if( !CDialog::PreCreateWindow(cs) ) return FALSE; cs.lpszName = strTitle; return TRUE; }
Example 4
Source File: CICS.cpp From mq-rfhutil with Apache License 2.0 | 5 votes |
BOOL CCICS::PreCreateWindow(CREATESTRUCT& cs) { // settings for a property page dialog cs.style |= WS_TABSTOP; cs.dwExStyle |= WS_EX_CONTROLPARENT; return CPropertyPage::PreCreateWindow(cs); }
Example 5
Source File: ChildFrm.cpp From LibUIDK with MIT License | 5 votes |
BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs) { // TODO: Modify the Window class or styles here by modifying the CREATESTRUCT cs if( !CMDIChildWndEx::PreCreateWindow(cs) ) return FALSE; cs.style = WS_CHILD|WS_VISIBLE|WS_OVERLAPPED|FWS_ADDTOTITLE|WS_THICKFRAME|WS_MAXIMIZE|WS_CLIPCHILDREN|WS_CLIPSIBLINGS; return TRUE; }
Example 6
Source File: HierarchyView.cpp From KnightOnline with MIT License | 5 votes |
BOOL CHierarchyView::PreCreateWindow(CREATESTRUCT& cs) { // TODO: Modify the Window class or styles here by modifying // the CREATESTRUCT cs cs.style |= TVS_HASBUTTONS | TVS_HASLINES | TVS_SHOWSELALWAYS | TVS_LINESATROOT; return CTreeView::PreCreateWindow(cs); }
Example 7
Source File: MainFrm.cpp From UrbanReconstruction with MIT License | 5 votes |
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) { if( !CMDIFrameWnd::PreCreateWindow(cs) ) return FALSE; // TODO: Modify the Window class or styles here by modifying // the CREATESTRUCT cs cs.style = WS_OVERLAPPED | WS_CAPTION | FWS_ADDTOTITLE | WS_THICKFRAME | WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_MAXIMIZE; return TRUE; }
Example 8
Source File: ChildFrm.cpp From UrbanReconstruction with MIT License | 5 votes |
BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs) { // TODO: Modify the Window class or styles here by modifying // the CREATESTRUCT cs if( !CMDIChildWnd::PreCreateWindow(cs) ) return FALSE; return TRUE; }
Example 9
Source File: ChildFrm.cpp From lazyExcel with Apache License 2.0 | 5 votes |
BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs) { // TODO: Modify the Window class or styles here by modifying // the CREATESTRUCT cs if( !CMDIChildWnd::PreCreateWindow(cs) ) return FALSE; cs.style = WS_CHILD | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | FWS_ADDTOTITLE | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_MAXIMIZE; return TRUE; }