Click here to Skip to main content
15,902,275 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCWinThread and m_bAutoDelete Pin
Braulio Dez17-Oct-02 7:28
Braulio Dez17-Oct-02 7:28 
GeneralRe: CWinThread and m_bAutoDelete Pin
Joaquín M López Muñoz17-Oct-02 7:43
Joaquín M López Muñoz17-Oct-02 7:43 
GeneralRe: CWinThread and m_bAutoDelete Pin
Braulio Dez17-Oct-02 7:55
Braulio Dez17-Oct-02 7:55 
GeneralRe: CWinThread and m_bAutoDelete Pin
Joaquín M López Muñoz17-Oct-02 8:01
Joaquín M López Muñoz17-Oct-02 8:01 
Generalnsigned to char * Pin
Anonymous12-Oct-02 10:49
Anonymous12-Oct-02 10:49 
GeneralRe: nsigned to char * Pin
John Clayton12-Oct-02 10:53
John Clayton12-Oct-02 10:53 
GeneralRe: nsigned to char * Pin
Michael Dunn12-Oct-02 12:07
sitebuilderMichael Dunn12-Oct-02 12:07 
GeneralHooking CWnd::OnIdle() without subclassing Pin
John Clayton12-Oct-02 9:07
John Clayton12-Oct-02 9:07 
Hi Everyone

I am trying to find out how I can hook 'onidle' from within an AddIn module for VC6. I know (using AfxGetApp()) that I can get to the CWnd* instance for MSDEV, but how on earth do I tell this CWnd* guy that I'd like to be called back when OnIdle() is being called?

Ideally, I would like to do :
AfxGetApp()->TellMeAllAboutOnIdleEvents(my_callback_interface);

(of course, this method don't exist!)

This could all be explained by my MFC naievity as well. Is it something to do with CCommandTarget perhaps? Well, while I continue to flex my eyes at the included MFC docs I shall hope for a reply.

Any help is massively appreciated! Thank you.


--
John Clayton
GeneralPrinting Debug Without Printer :: MFC Pin
valikac12-Oct-02 6:08
valikac12-Oct-02 6:08 
GeneralRe: Printing Debug Without Printer :: MFC Pin
Joaquín M López Muñoz12-Oct-02 6:16
Joaquín M López Muñoz12-Oct-02 6:16 
GeneralRe: Printing Debug Without Printer :: MFC Pin
valikac12-Oct-02 6:31
valikac12-Oct-02 6:31 
GeneralNanosecond timer resolution for Windows OS Pin
jrthatcher12-Oct-02 6:02
jrthatcher12-Oct-02 6:02 
GeneralRe: Nanosecond timer resolution for Windows OS Pin
MaximE12-Oct-02 11:34
MaximE12-Oct-02 11:34 
GeneralCDC::DrawText Pin
xeonboy12-Oct-02 5:36
xeonboy12-Oct-02 5:36 
GeneralRe: CDC::DrawText Pin
Joaquín M López Muñoz12-Oct-02 6:13
Joaquín M López Muñoz12-Oct-02 6:13 
GeneralRe: CDC::DrawText Pin
xeonboy12-Oct-02 16:25
xeonboy12-Oct-02 16:25 
GeneralDev Studio AddIn - Getting OnIdle() to work. Pin
John Clayton12-Oct-02 5:27
John Clayton12-Oct-02 5:27 
GeneralLocating *my* icon in the system tray Pin
Taka Muraoka12-Oct-02 3:20
Taka Muraoka12-Oct-02 3:20 
QuestionIs Winsock XP different?? Pin
zbyrat12-Oct-02 2:44
zbyrat12-Oct-02 2:44 
AnswerRe: Is Winsock XP different?? Pin
Mike Nordell12-Oct-02 5:56
Mike Nordell12-Oct-02 5:56 
GeneralRe: Is Winsock XP different?? Pin
zbyrat12-Oct-02 6:22
zbyrat12-Oct-02 6:22 
GeneralMemory leak Pin
suresh_sathya12-Oct-02 2:23
suresh_sathya12-Oct-02 2:23 
GeneralRe: Memory leak Pin
MaximE12-Oct-02 11:29
MaximE12-Oct-02 11:29 
QuestionHow can i simple add a JPG image to my Dialog based application Pin
whofmans12-Oct-02 1:54
whofmans12-Oct-02 1:54 
AnswerRe: How can i simple add a JPG image to my Dialog based application Pin
Michael P Butler12-Oct-02 2:00
Michael P Butler12-Oct-02 2:00 

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.