Click here to Skip to main content
15,899,313 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to customise the dialog window using mfc which is created and which contains many tools. I have removed toolbar,title bar. I want to make this resize and move.

There is a dialog which as few tools like button,picture control,custom control,Activex command buttons, Edit,combo boxes so on. Now for creating Customised window the way I need I have removed the Title bar, menu bar. for close,maximise and minimise I have used different command buttons which provides the functionalities of max and minimise using SW_SHOWMAXIMIZED,SW_NORMAL,SW_MINIMIZED. but i am not able to make all the tools adjust( when I maximise) to the window and the window is not moving when I Try to drag. how to make this happen?
Posted
Updated 15-Feb-12 23:31pm
v5

To Resize the dialog box you can use this link [^].

It will be good if you can explain a little more on your query.
 
Share this answer
 
There are many many articles here at CodeProject[^] on dialog customizing. You may learn the right technique for successfully completing your task.
 
Share this answer
 
Comments
chaiein 16-Feb-12 5:24am    
Thank you :) I will try some of these.
chaiein 16-Feb-12 5:28am    
all these are created dynamically. i cant use it with already created dialog. i f I have to change it to dynamically creating how can I include the tools inside.
zyrrr159487fasf 18-Feb-12 2:31am    
getDlgItem And setWindowPos
chaiein 22-Feb-12 5:41am    
It changes the size, position, and Z-order of child, pop-up, and top-level windows. but I need even the tools inside the window to change the size and position.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900