window seen in taskbar
-
Hi All, Iam working with a ListControl whose parent is a dialog.want to place a tree control on a particular cell on the listcontrol,which on doubleclicking should open up(ie: the width & height of this tree control exceeds the dialog boundary). Like in ComboBox control, where the list visible, goes beyond the dialog boundary. Tried somethings like treeControl.SetOwner(GetDesktopWindow(); treeControl.ModifyStyle(WS_CHILD,WS_OVERLAPPED); Everything works fine apart from 1 problem.I can see the newly created window(the treecontrol) on my taskbar. wHAT should I do to avoid that... Regards, P
-
Hi All, Iam working with a ListControl whose parent is a dialog.want to place a tree control on a particular cell on the listcontrol,which on doubleclicking should open up(ie: the width & height of this tree control exceeds the dialog boundary). Like in ComboBox control, where the list visible, goes beyond the dialog boundary. Tried somethings like treeControl.SetOwner(GetDesktopWindow(); treeControl.ModifyStyle(WS_CHILD,WS_OVERLAPPED); Everything works fine apart from 1 problem.I can see the newly created window(the treecontrol) on my taskbar. wHAT should I do to avoid that... Regards, P
Pazzuzu wrote:
treeControl.ModifyStyle(WS_CHILD,WS_OVERLAPPED);
I guess this line is causing the trouble. Why are you removing
WS_CHILD
style. And whyWS_OVERLAPPED
?
Nibu thomas Software Developer
-
Pazzuzu wrote:
treeControl.ModifyStyle(WS_CHILD,WS_OVERLAPPED);
I guess this line is causing the trouble. Why are you removing
WS_CHILD
style. And whyWS_OVERLAPPED
?
Nibu thomas Software Developer
-
Okay,that was a mistake. Tried as follows. treeControl.ModifyStyle(WS_BORDER,WS_POPUP); but the window is still there in the taskbar.Guess some of the styles are not added to the Control,though I use a modify style. What could be done...
Pazzuzu wrote:
treeControl.ModifyStyle(WS_BORDER,WS_POPUP);
Why
WS_POPUP
?? And why removingWS_BORDER
?? Let it remain as it is! Set the parent to desktop!
Nibu thomas Software Developer
-
Pazzuzu wrote:
treeControl.ModifyStyle(WS_BORDER,WS_POPUP);
Why
WS_POPUP
?? And why removingWS_BORDER
?? Let it remain as it is! Set the parent to desktop!
Nibu thomas Software Developer
-
Iam not modifying any style now.Iam keeping it as it is . treeControl.SetParent(GetDesktopWindow()); Still window is visible.
-
Iam not modifying any style now.Iam keeping it as it is . treeControl.SetParent(GetDesktopWindow()); Still window is visible.
What about
WS_EX_TOOLWINDOW
? Add this style usingModifyStyleEx
.
Nibu thomas Software Developer
-
Hi All, Iam working with a ListControl whose parent is a dialog.want to place a tree control on a particular cell on the listcontrol,which on doubleclicking should open up(ie: the width & height of this tree control exceeds the dialog boundary). Like in ComboBox control, where the list visible, goes beyond the dialog boundary. Tried somethings like treeControl.SetOwner(GetDesktopWindow(); treeControl.ModifyStyle(WS_CHILD,WS_OVERLAPPED); Everything works fine apart from 1 problem.I can see the newly created window(the treecontrol) on my taskbar. wHAT should I do to avoid that... Regards, P
Check this out :- WS_EX_TOOLWINDOW Regards, FarPointer
-
Check this out :- WS_EX_TOOLWINDOW Regards, FarPointer
Thanks Nibu & Farpointer.It worked... Thanks one again
-
Thanks Nibu & Farpointer.It worked... Thanks one again
Would you be kind enough to say how you made it to work. Regards, FarPointer