Click here to Skip to main content
15,920,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: can I dynamically convert a base class object into a derived class object? Pin
Owner drawn18-Jan-06 23:03
Owner drawn18-Jan-06 23:03 
GeneralRe: can I dynamically convert a base class object into a derived class object? Pin
toxcct18-Jan-06 23:06
toxcct18-Jan-06 23:06 
GeneralRe: can I dynamically convert a base class object into a derived class object? Pin
Prakash Nadar18-Jan-06 23:18
Prakash Nadar18-Jan-06 23:18 
GeneralRe: can I dynamically convert a base class object into a derived class object? Pin
ThatsAlok18-Jan-06 23:27
ThatsAlok18-Jan-06 23:27 
GeneralRe: can I dynamically convert a base class object into a derived class object? Pin
toxcct18-Jan-06 23:32
toxcct18-Jan-06 23:32 
GeneralRe: can I dynamically convert a base class object into a derived class object? Pin
Stephen Hewitt18-Jan-06 23:17
Stephen Hewitt18-Jan-06 23:17 
GeneralRe: can I dynamically convert a base class object into a derived class object? Pin
Prakash Nadar18-Jan-06 23:19
Prakash Nadar18-Jan-06 23:19 
QuestionChild Static Control not displayed when created when parent hidden !? Why!! Pin
Axonn Echysttas18-Jan-06 18:55
Axonn Echysttas18-Jan-06 18:55 
Hi everybody. Yet another episode of my miserable API window wrapper saga. As I told you all, I'm working at a window wrapper over API. My window wrapper will be able to create controls on a window and all controls will come subclassed directly and handleled by a higher level "window master" using a singly linked list to memorise procedure pointers and stuff like this. One of the functions of this gizmo is nice tooltip windows (a lot nicer than the Windows Standard, with my own shadow system that will work even on windows 2000 which doesn't support CS_DROPSHADOW). Maybe I'll publish it here when finished, in my usual habbit: I help those who help. I already posted an article with stuff I learned here and it won't be the last. But anyway, if my freeware application has enough success I'll probably make it open source and this is a component of that application. Well, anyway, I can't finish it anyway if I can't get rid of such problems:

I am creating a WS_POPUP window via CreateWindowEx and my own class.
I am NOT showing that window.
Within it, I am creating a WS_CHILD from class "Static" (it's practically a label for displaying text).
I show the kid.
I show the parent.
Where's the kid !??!!?

Why don't I see the kid? Maybe 'cause I created it and showed it when the parent was hidden? My next logical assumption was to send another ShowWindow(hwndKID, true) to the kid. But it still doesn't get shown. Grrrrrrrr.

Thank you in advance and sorry for the long intro... got ahead of myself ::- D.

-= E C H Y S T T A S =-
The Greater Mind Balance
AnswerRe: Child Static Control not displayed when created when parent hidden !? Why!! Pin
Stephen Hewitt18-Jan-06 19:11
Stephen Hewitt18-Jan-06 19:11 
GeneralRe: Child Static Control not displayed when created when parent hidden !? Why!! Pin
Axonn Echysttas18-Jan-06 19:56
Axonn Echysttas18-Jan-06 19:56 
GeneralRe: Child Static Control not displayed when created when parent hidden !? Why!! Pin
Stephen Hewitt18-Jan-06 20:00
Stephen Hewitt18-Jan-06 20:00 
GeneralRe: Child Static Control not displayed when created when parent hidden !? Why!! Pin
Axonn Echysttas18-Jan-06 20:28
Axonn Echysttas18-Jan-06 20:28 
GeneralRe: Child Static Control not displayed when created when parent hidden !? Why!! Pin
Stephen Hewitt18-Jan-06 20:57
Stephen Hewitt18-Jan-06 20:57 
GeneralRe: Child Static Control not displayed when created when parent hidden !? Why!! Pin
Axonn Echysttas18-Jan-06 21:22
Axonn Echysttas18-Jan-06 21:22 
GeneralRe: Child Static Control not displayed when created when parent hidden !? Why!! Pin
Stephen Hewitt18-Jan-06 21:44
Stephen Hewitt18-Jan-06 21:44 
GeneralRe: Child Static Control not displayed when created when parent hidden !? Why!! Pin
Axonn Echysttas18-Jan-06 22:00
Axonn Echysttas18-Jan-06 22:00 
GeneralRe: Child Static Control not displayed when created when parent hidden !? Why!! Pin
Stephen Hewitt18-Jan-06 22:03
Stephen Hewitt18-Jan-06 22:03 
GeneralRe: Child Static Control not displayed when created when parent hidden !? Why!! Pin
Axonn Echysttas19-Jan-06 0:44
Axonn Echysttas19-Jan-06 0:44 
GeneralRe: Child Static Control not displayed when created when parent hidden !? Why!! Pin
Axonn Echysttas19-Jan-06 1:07
Axonn Echysttas19-Jan-06 1:07 
GeneralRe: Child Static Control not displayed when created when parent hidden !? Why!! Pin
Stephen Hewitt19-Jan-06 1:55
Stephen Hewitt19-Jan-06 1:55 
GeneralRe: Child Static Control not displayed when created when parent hidden !? Why!! Pin
Axonn Echysttas19-Jan-06 2:23
Axonn Echysttas19-Jan-06 2:23 
GeneralRe: Child Static Control not displayed when created when parent hidden !? Why!! Pin
Stephen Hewitt19-Jan-06 3:27
Stephen Hewitt19-Jan-06 3:27 
GeneralRe: Child Static Control not displayed when created when parent hidden !? Why!! Pin
Axonn Echysttas19-Jan-06 4:15
Axonn Echysttas19-Jan-06 4:15 
QuestionWPARAM and LPARAM ? Pin
Owner drawn18-Jan-06 17:50
Owner drawn18-Jan-06 17:50 
AnswerRe: WPARAM and LPARAM ? Pin
Prakash Nadar18-Jan-06 17:57
Prakash Nadar18-Jan-06 17: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.