Click here to Skip to main content
15,895,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: randowm shuffle( ) in MFC Pin
kakan17-May-06 22:59
professionalkakan17-May-06 22:59 
QuestionChild to Popup dynamically... Pin
Nishad S17-May-06 21:18
Nishad S17-May-06 21:18 
AnswerRe: Child to Popup dynamically... Pin
_AnsHUMAN_ 17-May-06 21:49
_AnsHUMAN_ 17-May-06 21:49 
AnswerRe: Child to Popup dynamically... Pin
Nibu babu thomas17-May-06 21:53
Nibu babu thomas17-May-06 21:53 
GeneralRe: Child to Popup dynamically... Pin
Nishad S17-May-06 22:24
Nishad S17-May-06 22:24 
GeneralRe: Child to Popup dynamically... Pin
Nibu babu thomas17-May-06 22:38
Nibu babu thomas17-May-06 22:38 
GeneralRe: Child to Popup dynamically... Pin
Nishad S17-May-06 22:46
Nishad S17-May-06 22:46 
AnswerRe: Child to Popup dynamically... Pin
_Beren_17-May-06 22:01
_Beren_17-May-06 22:01 
HI,

I'm a little confused about what you want to get changin' the control style from Child to Popup.

A child window apears in the client area of the parent window, as opposed to the popup windows that appears outside.


NS17 wrote:
mean, it is not getting top of the other controls, like popup dialogs do.


Reading your question i think you want to put your control over another child control inside the client area of your application's window. To do this you simply call the API function SetWindowPos(HWND Window, HWND IsertAfter, ...., int flags). On successful completion, Window gets over InsertAfter. Remember, if you don't want to move nor resize the control you can pass as flags (SWP_NOMOVE|SWP_NOSIZE).

Hope this will be helpfull.



Beren
GeneralRe: Child to Popup dynamically... Pin
Naveen17-May-06 22:14
Naveen17-May-06 22:14 
GeneralRe: Child to Popup dynamically... Pin
_Beren_17-May-06 22:19
_Beren_17-May-06 22:19 
GeneralRe: Child to Popup dynamically... Pin
Naveen17-May-06 22:33
Naveen17-May-06 22:33 
GeneralRe: Child to Popup dynamically... Pin
Nishad S17-May-06 22:17
Nishad S17-May-06 22:17 
AnswerRe: Child to Popup dynamically... Pin
_Beren_17-May-06 22:24
_Beren_17-May-06 22:24 
GeneralRe: Child to Popup dynamically... Pin
Nishad S17-May-06 22:31
Nishad S17-May-06 22:31 
AnswerRe: Child to Popup dynamically... Pin
Laxman Auti17-May-06 22:52
Laxman Auti17-May-06 22:52 
AnswerRe: Child to Popup dynamically... Pin
_Beren_17-May-06 23:07
_Beren_17-May-06 23:07 
GeneralRe: Child to Popup dynamically... Pin
Nishad S17-May-06 23:09
Nishad S17-May-06 23:09 
GeneralRe: Child to Popup dynamically... Pin
_Beren_17-May-06 23:41
_Beren_17-May-06 23:41 
GeneralRe: Child to Popup dynamically... Pin
Nishad S18-May-06 0:13
Nishad S18-May-06 0:13 
QuestionSetWindowText Error Pin
VinayCool17-May-06 21:16
VinayCool17-May-06 21:16 
AnswerRe: SetWindowText Error Pin
Cedric Moonen17-May-06 21:21
Cedric Moonen17-May-06 21:21 
GeneralRe: SetWindowText Error Pin
VinayCool17-May-06 21:38
VinayCool17-May-06 21:38 
AnswerRe: SetWindowText Error Pin
Hamid_RT17-May-06 21:32
Hamid_RT17-May-06 21:32 
AnswerRe: SetWindowText Error Pin
VinayCool17-May-06 21:42
VinayCool17-May-06 21:42 
GeneralRe: SetWindowText Error Pin
VinayCool17-May-06 21:58
VinayCool17-May-06 21:58 

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.