Click here to Skip to main content
15,920,468 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalwin32 dll Pin
ns29-Jun-04 7:42
ns29-Jun-04 7:42 
GeneralRe: win32 dll Pin
Jeremy Falcon29-Jun-04 8:53
professionalJeremy Falcon29-Jun-04 8:53 
GeneralStart Full or Min Pin
Zenix229-Jun-04 7:35
Zenix229-Jun-04 7:35 
GeneralRe: Start Full or Min Pin
David Crow29-Jun-04 8:31
David Crow29-Jun-04 8:31 
GeneralRe: Start Full or Min Pin
Zenix229-Jun-04 9:43
Zenix229-Jun-04 9:43 
GeneralRe: Start Full or Min Pin
vcplusplus29-Jun-04 13:58
vcplusplus29-Jun-04 13:58 
GeneralRe: Start Full or Min Pin
David Crow30-Jun-04 2:39
David Crow30-Jun-04 2:39 
GeneralRe: Start Full or Min Pin
Zenix21-Jul-04 4:55
Zenix21-Jul-04 4:55 
Below is my initInstance Function. There is no :"m_pMainWnd->ShowWindow(SW_SHOWMINIMIZED)". Is there another place it could possibly be? Thank you for your patience!

Garry


BOOL CCustomerApp::InitInstance()
{
// InitCommonControls() is required on Windows XP if an application
// manifest specifies use of ComCtl32.dll version 6 or later to enable
// visual styles. Otherwise, any window creation will fail.
InitCommonControls();

CWinApp::InitInstance();

// Initialize OLE libraries
if (!AfxOleInit())
{
AfxMessageBox(IDP_OLE_INIT_FAILED);
return FALSE;
}
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable, you should remove from the following
// the specific initialization routines you do not need
// Change the registry key under which our settings are stored
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization
SetRegistryKey(_T("Local AppWizard-Generated Applications"));
LoadStdProfileSettings(4); // Load standard INI file options (including MRU)
// Register the application's document templates. Document templates
// serve as the connection between documents, frame windows and views
CMultiDocTemplate* pDocTemplate;
pDocTemplate = new CMultiDocTemplate(IDR_CustomerTYPE,
RUNTIME_CLASS(CCustomerDoc),
RUNTIME_CLASS(CChildFrame), // custom MDI child frame
RUNTIME_CLASS(CCustomerView));
AddDocTemplate(pDocTemplate);
// create main MDI Frame window
CMainFrame* pMainFrame = new CMainFrame;
if (!pMainFrame->LoadFrame(IDR_MAINFRAME))
return FALSE;
m_pMainWnd = pMainFrame;
// call DragAcceptFiles only if there's a suffix
// In an MDI app, this should occur immediately after setting m_pMainWnd
// Enable drag/drop open
m_pMainWnd->DragAcceptFiles();
// Enable DDE Execute open
EnableShellOpen();
RegisterShellFileTypes(TRUE);
// Parse command line for standard shell commands, DDE, file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Dispatch commands specified on the command line. Will return FALSE if
// app was launched with /RegServer, /Register, /Unregserver or /Unregister.
if (!ProcessShellCommand(cmdInfo))
return FALSE;
// The main window has been initialized, so show and update it
pMainFrame->ShowWindow(m_nCmdShow);
pMainFrame->UpdateWindow();
return TRUE;
}
GeneralRe: Start Full or Min Pin
David Crow1-Jul-04 5:09
David Crow1-Jul-04 5:09 
GeneralRe: Start Full or Min Pin
Zenix21-Jul-04 5:23
Zenix21-Jul-04 5:23 
GeneralRe: Start Full or Min Pin
David Crow1-Jul-04 5:32
David Crow1-Jul-04 5:32 
GeneralRe: Start Full or Min Pin
Zenix21-Jul-04 8:49
Zenix21-Jul-04 8:49 
GeneralData Class Pin
Anonymous29-Jun-04 6:19
Anonymous29-Jun-04 6:19 
GeneralRe: Data Class Pin
David Crow29-Jun-04 6:57
David Crow29-Jun-04 6:57 
GeneralRe: Data Class Pin
Maximilien29-Jun-04 7:45
Maximilien29-Jun-04 7:45 
Generalconverting MFC mdi exe into MFC Dll Pin
yashu50429-Jun-04 5:29
yashu50429-Jun-04 5:29 
GeneralRe: converting MFC mdi exe into MFC Dll Pin
palbano29-Jun-04 6:08
palbano29-Jun-04 6:08 
GeneralProgress Bar Pin
Dennis L29-Jun-04 4:59
Dennis L29-Jun-04 4:59 
GeneralRe: Progress Bar Pin
Rick York29-Jun-04 6:13
mveRick York29-Jun-04 6:13 
GeneralRe: Progress Bar Pin
palbano29-Jun-04 6:19
palbano29-Jun-04 6:19 
GeneralLoad picture data Pin
RonnyS29-Jun-04 4:36
RonnyS29-Jun-04 4:36 
GeneralRe: Load picture data Pin
Johan Rosengren29-Jun-04 20:32
Johan Rosengren29-Jun-04 20:32 
GeneralCreateProcessWithLogonW Pin
A T I F29-Jun-04 4:11
A T I F29-Jun-04 4:11 
GeneralRe: CreateProcessWithLogonW Pin
valikac29-Jun-04 6:31
valikac29-Jun-04 6:31 
GeneralRe: CreateProcessWithLogonW Pin
A T I F29-Jun-04 21:53
A T I F29-Jun-04 21:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.