Click here to Skip to main content
15,922,696 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCompiling an idl? Pin
Killen17-Nov-03 2:55
Killen17-Nov-03 2:55 
AnswerRe: Compiling an idl? Pin
Adam Gritt17-Nov-03 5:28
Adam Gritt17-Nov-03 5:28 
GeneralRe: Compiling an idl? Pin
Killen20-Nov-03 10:56
Killen20-Nov-03 10:56 
GeneralSocket creation at Windows 98 Pin
nurpinar17-Nov-03 2:20
nurpinar17-Nov-03 2:20 
GeneralRe: Socket creation at Windows 98 Pin
valikac17-Nov-03 5:44
valikac17-Nov-03 5:44 
GeneralRe: Socket creation at Windows 98 Pin
vcplusplus17-Nov-03 5:48
vcplusplus17-Nov-03 5:48 
GeneralCOleControl visiblity handler Pin
tango_bling17-Nov-03 2:12
tango_bling17-Nov-03 2:12 
GeneralRe: COleControl visiblity handler Pin
igor196017-Nov-03 10:25
igor196017-Nov-03 10:25 
Your control probably doesn't implemented "Visible" property -- it's an Extended propery provided by VB and implemented through agregation in your control.
Therefore, there is no way for your control to be notified through "Visible" property change notification.
However, you always have an option either:
1. to imlement DoVerb method IOleObject interface (check for OLEIVERB_HIDE,OLEIVERB_SHOW);
2. check for empty device context returned by GetDC on the window of your control.
There maybe some other more "advanced" methods...

Regards

"...Ability to type is not enough to become a Programmer. Unless you type in VB. But then again you have to type really fast..."
Me
GeneralRe: COleControl visiblity handler Pin
tango_bling17-Nov-03 22:45
tango_bling17-Nov-03 22:45 
GeneralRe: COleControl visiblity handler Pin
igor196018-Nov-03 6:37
igor196018-Nov-03 6:37 
GeneralLarge Files Pin
Andre123417-Nov-03 1:33
Andre123417-Nov-03 1:33 
GeneralRe: Large Files Pin
Ian Darling17-Nov-03 2:10
Ian Darling17-Nov-03 2:10 
GeneralRe: Large Files Pin
David Crow17-Nov-03 4:10
David Crow17-Nov-03 4:10 
GeneralRe: Large Files Pin
Andre123419-Nov-03 6:26
Andre123419-Nov-03 6:26 
GeneralRe: Large Files Pin
David Crow19-Nov-03 6:49
David Crow19-Nov-03 6:49 
GeneralRe: Large Files Pin
Vitali Halershtein17-Nov-03 4:42
Vitali Halershtein17-Nov-03 4:42 
GeneralRe: Large Files Pin
фил4-Dec-03 22:54
фил4-Dec-03 22:54 
QuestionHow to make a X-Y scatter chart look good? Pin
ChinaJoe17-Nov-03 0:08
ChinaJoe17-Nov-03 0:08 
AnswerRe: How to make a X-Y scatter chart look good? Pin
Maximilien17-Nov-03 2:12
Maximilien17-Nov-03 2:12 
GeneralRe: How to make a X-Y scatter chart look good? Pin
ChinaJoe17-Nov-03 15:05
ChinaJoe17-Nov-03 15:05 
GeneralRescale Bitmap on Picture Control Pin
sweep12317-Nov-03 0:07
sweep12317-Nov-03 0:07 
GeneralRe: Rescale Bitmap on Picture Control Pin
Peter Molnar17-Nov-03 13:55
Peter Molnar17-Nov-03 13:55 
GeneralRe: Rescale Bitmap on Picture Control Pin
sweep12318-Nov-03 5:51
sweep12318-Nov-03 5:51 
GeneralRe: Rescale Bitmap on Picture Control Pin
Peter Molnar18-Nov-03 7:06
Peter Molnar18-Nov-03 7:06 
GeneralRe: Rescale Bitmap on Picture Control Pin
sweep12319-Nov-03 0:45
sweep12319-Nov-03 0:45 

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.