Go4Expert (http://www.go4expert.com/)
-   Win32 (http://www.go4expert.com/forums/win32/)
-   -   WM_SIZING Probelm in my application (http://www.go4expert.com/forums/wmsizing-probelm-application-t309/)

hemanth.balaji 21May2005 23:20

WM_SIZING Probelm in my application
Hi people,
I am doing a project for my college. I am doing the UI part using Win32 Api. I am learing wuite a lot from

various tutorials available on the net. I am through with most of the GUI but only get stuck when resizing of

controls is required. I have made a couple of mistakes and would like someone to help me out. I am putting my

code in the following site;Everything is in the Main.cpp file.


Its not going to be something major to program dude. Its only when I use the Show/ Hide Toolbar and Status bar from the View Menu that I get WM_SIZING Probelms. I am not able to handle them efficiently . Please help me

carry out this. Its just the WM_SIZING in the project. I wuold be very thank full. I am ready to return back

whatever help if necessary. I have a collectio of Win32 Ebooks and would love o share them with you guys too.

Thanks in Advance..

shabbir 22May2005 06:56

Re: WM_SIZING Probelm in my application
Hello Hemanth

First of all I would like to welcome you to this forums and secondly would like to request you to avoid multiple postings like http://www.go4expert.com/showthread.php?t=308 in multiple sections. I know you are really looking for the solutions but if somone is willing to help you out he will find the question he is an expert in.

Now about your query. It would have been better if you would have posted some thing like I have problem in ... area then many more developers would have been interested. But anyway

        if(mi.fState = MFS_CHECKED)
                // Toolbar on?
                dr.top = 45;
                margin += 45;
                dr.top = 5;

In the above code you are checking the toolbar On/Off but no where in the code you are checking for the status bar. Do the same and everything should be fine.

Shabbir Bhimani

All times are GMT +5.5. The time now is 07:08.