Click here to Skip to main content
15,891,930 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: RTI - related (Zac Howland) can help Pin
Jay0310-Jul-06 5:16
Jay0310-Jul-06 5:16 
GeneralRe: RTI - related (Zac Howland) can help Pin
Jay0310-Jul-06 6:33
Jay0310-Jul-06 6:33 
GeneralRe: RTI - related (Zac Howland) can help Pin
Zac Howland10-Jul-06 6:54
Zac Howland10-Jul-06 6:54 
GeneralRe: RTI - related (Zac Howland) can help Pin
Jun Du10-Jul-06 7:20
Jun Du10-Jul-06 7:20 
AnswerRe: RTI - related (Zac Howland) can help Pin
earl10-Jul-06 7:24
earl10-Jul-06 7:24 
QuestionDeleting desktop shortcut while not administrator [modified] Pin
clemb10-Jul-06 4:04
clemb10-Jul-06 4:04 
AnswerRe: Deleting desktop shortcut while not administrator Pin
clemb21-Jul-06 4:51
clemb21-Jul-06 4:51 
QuestionGetting the Parent Window Handle Pin
HakunaMatada10-Jul-06 3:53
HakunaMatada10-Jul-06 3:53 
I have an SDI application. This SDI application has a Splitter control, which has Pane controls and the pane controls themselves have other child controls. So, there is a hierarchy of controls. Now, If I have the handle of any child control, I want to get the Handle of the SDI application window. Is there any way to achieve this?

GetParent() may work, but I would certainly not know how many GetParent()s I am supposed to call. For Example, if I have the HWND of the PaneControl, I would have to call GetParent() twice. One for the Splitter control and the other for the application Window. Similarly, if I have the handle of the Splitter control, I would have to call GetParent() only once. This is the why I think GetParent() is not such a good idea. Any other options?

---
Beer | [beer] Hakuna-Matada Beer | [beer]
It means no worries for the rest of your days...
It's our problem free, Philosophy

<marquee behavior="alternate" scrollamount="5" scrolldelay="50">Jig | [Dance]
AnswerRe: Getting the Parent Window Handle Pin
Sarath C10-Jul-06 4:15
Sarath C10-Jul-06 4:15 
GeneralRe: Getting the Parent Window Handle Pin
HakunaMatada10-Jul-06 17:20
HakunaMatada10-Jul-06 17:20 
AnswerRe: Getting the Parent Window Handle Pin
Abhi Lahare10-Jul-06 4:15
Abhi Lahare10-Jul-06 4:15 
AnswerRe: Getting the Parent Window Handle Pin
FarPointer10-Jul-06 4:18
FarPointer10-Jul-06 4:18 
AnswerRe: Getting the Parent Window Handle Pin
ThatsAlok10-Jul-06 19:20
ThatsAlok10-Jul-06 19:20 
Questionlist control Pin
jokefake10-Jul-06 3:49
jokefake10-Jul-06 3:49 
AnswerRe: list control Pin
Sarath C10-Jul-06 4:17
Sarath C10-Jul-06 4:17 
AnswerRe: list control Pin
David Crow10-Jul-06 4:19
David Crow10-Jul-06 4:19 
GeneralRe: list control Pin
jokefake10-Jul-06 5:46
jokefake10-Jul-06 5:46 
GeneralRe: list control Pin
David Crow10-Jul-06 6:11
David Crow10-Jul-06 6:11 
GeneralRe: list control Pin
jokefake10-Jul-06 6:39
jokefake10-Jul-06 6:39 
QuestionRe: list control Pin
David Crow10-Jul-06 6:41
David Crow10-Jul-06 6:41 
AnswerRe: list control Pin
jokefake10-Jul-06 6:48
jokefake10-Jul-06 6:48 
GeneralRe: list control Pin
David Crow10-Jul-06 7:31
David Crow10-Jul-06 7:31 
GeneralRe: list control Pin
jokefake11-Jul-06 1:57
jokefake11-Jul-06 1:57 
GeneralRe: list control Pin
David Crow11-Jul-06 2:07
David Crow11-Jul-06 2:07 
GeneralRe: list control Pin
jokefake11-Jul-06 2:57
jokefake11-Jul-06 2:57 

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.