Click here to Skip to main content
15,915,770 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralShellNotifyRegister HELP.. Pin
RoyRose7821-Apr-05 9:27
RoyRose7821-Apr-05 9:27 
GeneralRe: ShellNotifyRegister HELP.. Pin
Michael Dunn21-Apr-05 12:01
sitebuilderMichael Dunn21-Apr-05 12:01 
GeneralRe: ShellNotifyRegister HELP.. Pin
David Crow21-Apr-05 17:12
David Crow21-Apr-05 17:12 
Generalcrossed includes Pin
crystalButterfly21-Apr-05 9:19
crystalButterfly21-Apr-05 9:19 
GeneralRe: crossed includes Pin
John M. Drescher21-Apr-05 9:42
John M. Drescher21-Apr-05 9:42 
GeneralRe: crossed includes Pin
liquid_21-Apr-05 9:47
liquid_21-Apr-05 9:47 
GeneralRe: crossed includes Pin
Ravi Bhavnani21-Apr-05 18:00
professionalRavi Bhavnani21-Apr-05 18:00 
Generalset size of main application window at startup Pin
elephantstar21-Apr-05 8:10
elephantstar21-Apr-05 8:10 
Hi there,

How can I set the main applicatin window to a certain size at startup? With the code below, it sizes to the set size only when the Restore button is clicked. I'd like it to be that size when the application starts up. How can I manage this? Thanks!

BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CMDIFrameWnd::PreCreateWindow(cs) )
return FALSE;
cs.style =
WS_OVERLAPPED | WS_CAPTION |
WS_THICKFRAME | WS_SYSMENU |
WS_MINIMIZEBOX | WS_MAXIMIZEBOX;
cs.cx = 1000;
cs.cy = 800;
cs.x = 100;
cs.y = 100;

return CMDIFrameWnd::PreCreateWindow(cs);
}
GeneralRe: set size of main application window at startup Pin
heman15421-Apr-05 8:19
heman15421-Apr-05 8:19 
GeneralRe: set size of main application window at startup Pin
elephantstar21-Apr-05 9:55
elephantstar21-Apr-05 9:55 
GeneralRe: set size of main application window at startup Pin
heman15421-Apr-05 17:37
heman15421-Apr-05 17:37 
GeneralRe: set size of main application window at startup Pin
ThatsAlok21-Apr-05 18:42
ThatsAlok21-Apr-05 18:42 
GeneralUDP socket problem Pin
Andrey Del Pozo21-Apr-05 7:33
Andrey Del Pozo21-Apr-05 7:33 
GeneralRe: UDP socket problem Pin
CodeBeetle23-Apr-05 1:48
CodeBeetle23-Apr-05 1:48 
Generalaccess MFC view from modeless dialog Pin
crystalButterfly21-Apr-05 7:06
crystalButterfly21-Apr-05 7:06 
GeneralRe: access MFC view from modeless dialog Pin
Chris Losinger21-Apr-05 7:39
professionalChris Losinger21-Apr-05 7:39 
GeneralRe: access MFC view from modeless dialog Pin
Andrey Del Pozo21-Apr-05 7:44
Andrey Del Pozo21-Apr-05 7:44 
GeneralRe: access MFC view from modeless dialog Pin
crystalButterfly21-Apr-05 8:12
crystalButterfly21-Apr-05 8:12 
GeneralRe: access MFC view from modeless dialog Pin
Ravi Bhavnani21-Apr-05 18:04
professionalRavi Bhavnani21-Apr-05 18:04 
GeneralDLL Pin
topeakinniyi21-Apr-05 7:04
topeakinniyi21-Apr-05 7:04 
GeneralRe: DLL Pin
cpm221-Apr-05 7:40
cpm221-Apr-05 7:40 
GeneralRe: DLL Pin
topeakinniyi21-Apr-05 7:47
topeakinniyi21-Apr-05 7:47 
GeneralRe: DLL Pin
AnTri21-Apr-05 9:48
AnTri21-Apr-05 9:48 
Generalwrap an activex like listview Pin
Tamas Karoly21-Apr-05 6:37
Tamas Karoly21-Apr-05 6:37 
QuestionHow to copy files from computer to another without clint program? Pin
Member 125596621-Apr-05 6:33
Member 125596621-Apr-05 6:33 

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.