Click here to Skip to main content
16,006,493 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dialog Box question Pin
Gero Gerber4-Nov-02 4:07
Gero Gerber4-Nov-02 4:07 
GeneralRe: Dialog Box question Pin
Pett4-Nov-02 4:09
Pett4-Nov-02 4:09 
GeneralRe: Dialog Box question Pin
Pett4-Nov-02 5:03
Pett4-Nov-02 5:03 
GeneralRe: Dialog Box question Pin
jhwurmbach4-Nov-02 4:54
jhwurmbach4-Nov-02 4:54 
GeneralRe: Dialog Box question-- Thank you! Pin
Pett4-Nov-02 5:05
Pett4-Nov-02 5:05 
GeneralPlease help with Web Browser Pin
rrrado4-Nov-02 2:13
rrrado4-Nov-02 2:13 
GeneralCAnimateCtrl Pin
Marcus7774-Nov-02 2:10
sussMarcus7774-Nov-02 2:10 
GeneralResponding to WM Messages in a DLL Pin
Brigg Thorp4-Nov-02 1:48
Brigg Thorp4-Nov-02 1:48 
OK. I have a project (a DLL written in C) that communicates over USB from the PC to a device. It works great, but I need the ability to turn off a progress dialog that I call with the DialogBox function. In other words, I want to be able to transfer data without showing any user interface. I've thought about ways to do this...create a thread, hide the dialog, etc. The problem is, I don't know how to respond to the WM messages (specifically WM_TIMER) if I don't have the UI. I have an API call that is called by an external program, which calls a routine with the DialogBox API. The DialogBox API has a callback procedure that I can process these messages in. So how do I have this API work without a dialog? Do I have to do a PeekMessage or something? It's been a while since I've programmed in straight C for Windows.

Brigg Thorp
Software Engineer
Timex Corporation
GeneralRe: Responding to WM Messages in a DLL Pin
Andreas Saurwein4-Nov-02 6:47
Andreas Saurwein4-Nov-02 6:47 
GeneralRe: Responding to WM Messages in a DLL Pin
Brigg Thorp4-Nov-02 7:53
Brigg Thorp4-Nov-02 7:53 
GeneralChange the background color of a static text control Pin
Daniel Strigl4-Nov-02 1:24
Daniel Strigl4-Nov-02 1:24 
GeneralRe: Change the background color of a static text control Pin
Michael P Butler4-Nov-02 1:46
Michael P Butler4-Nov-02 1:46 
GeneralSemaphore wait and signal!!!! Pin
tongc4-Nov-02 1:13
tongc4-Nov-02 1:13 
GeneralRe: Semaphore wait and signal!!!! Pin
Gary Wheeler4-Nov-02 7:33
Gary Wheeler4-Nov-02 7:33 
QuestionCListCtrl Focus??? Pin
Daniel Strigl4-Nov-02 1:02
Daniel Strigl4-Nov-02 1:02 
AnswerRe: CListCtrl Focus??? Pin
Andreas Saurwein4-Nov-02 6:49
Andreas Saurwein4-Nov-02 6:49 
Questionshared memory between processes?? Pin
Anonymous4-Nov-02 1:01
Anonymous4-Nov-02 1:01 
AnswerRe: shared memory between processes?? Pin
Paul M Watt4-Nov-02 5:24
mentorPaul M Watt4-Nov-02 5:24 
AnswerRe: shared memory between processes?? Pin
ian mariano4-Nov-02 7:31
ian mariano4-Nov-02 7:31 
QuestionWhat reports can use in VC instead of Crystal? Pin
LaFlour4-Nov-02 0:56
LaFlour4-Nov-02 0:56 
Generalallowable instruction in kernel mode!! Pin
Anonymous4-Nov-02 0:44
Anonymous4-Nov-02 0:44 
GeneralRe: allowable instruction in kernel mode!! Pin
Paul M Watt4-Nov-02 5:27
mentorPaul M Watt4-Nov-02 5:27 
QuestionHow Can I Set Items' Images of Toolbar Pin
IMiracle4-Nov-02 0:39
IMiracle4-Nov-02 0:39 
AnswerRe: How Can I Set Items' Images of Toolbar Pin
viliam4-Nov-02 0:55
viliam4-Nov-02 0:55 
GeneralRe: How Can I Set Items' Images of Toolbar Pin
IMiracle4-Nov-02 1:03
IMiracle4-Nov-02 1:03 

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.