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

C / C++ / MFC

 
GeneralRe: Oracle/ADO HELL Pin
Rama Krishna Vavilala14-Jun-02 17:58
Rama Krishna Vavilala14-Jun-02 17:58 
GeneralRe: Oracle/ADO HELL Pin
Christian Graus14-Jun-02 18:17
protectorChristian Graus14-Jun-02 18:17 
GeneralRe: Oracle/ADO HELL Pin
Rama Krishna Vavilala15-Jun-02 1:06
Rama Krishna Vavilala15-Jun-02 1:06 
GeneralRe: Oracle/ADO HELL Pin
Michael P Butler14-Jun-02 22:46
Michael P Butler14-Jun-02 22:46 
GeneralRe: Oracle/ADO HELL Pin
Christian Graus16-Jun-02 11:59
protectorChristian Graus16-Jun-02 11:59 
GeneralAttaching menus to command buttons Pin
Richard Otter14-Jun-02 16:21
Richard Otter14-Jun-02 16:21 
GeneralRe: Attaching menus to command buttons Pin
Paul M Watt14-Jun-02 16:38
mentorPaul M Watt14-Jun-02 16:38 
GeneralClassName for a Dialog App Pin
Bradley Manske14-Jun-02 15:04
Bradley Manske14-Jun-02 15:04 
I've written a Win32 Dialog App that calls CreateDialog instead of CreateWindow. When it starts up I wanted to use FindWindow along with a class name to see if the app was already running. To do this I need a unique ClassName, but the class is created by the call to CreateDialog.

I have tried using the CLASS statement in the resource file, but then the call to CreateDialog fails.

The API documentation for DefDialogProc hints that RegisterClass can be used to set the ClassName for a Dialog. It further states that GetClassName can be used to get the WNDCLASS for a dialog, then the name can be changed and a new class registered.

I think this is standard Win32 stuff, but in case it matters, I'm working with WinCE.

Has anyone ever done this? Nothing works as expected for me. Is a different approach called for? Suggestions? Comments?

Brad Manske
GeneralRe: ClassName for a Dialog App Pin
Paul M Watt14-Jun-02 16:55
mentorPaul M Watt14-Jun-02 16:55 
GeneralRe: ClassName for a Dialog App Pin
15-Jun-02 3:00
suss15-Jun-02 3:00 
QuestionHow do I stop a process before it completes? Pin
smoothchew14-Jun-02 13:55
smoothchew14-Jun-02 13:55 
AnswerRe: How do I stop a process before it completes? Pin
Paul M Watt14-Jun-02 17:00
mentorPaul M Watt14-Jun-02 17:00 
QuestionWhy did I get this "file corrupt or missing" error? Pin
Selevercin14-Jun-02 12:58
Selevercin14-Jun-02 12:58 
AnswerRe: Why did I get this "file corrupt or missing" error? Pin
14-Jun-02 13:01
suss14-Jun-02 13:01 
AnswerRe: Why did I get this "file corrupt or missing" error? Pin
Nish Nishant14-Jun-02 15:27
sitebuilderNish Nishant14-Jun-02 15:27 
GeneralRe: Why did I get this "file corrupt or missing" error? Pin
Selevercin15-Jun-02 14:26
Selevercin15-Jun-02 14:26 
GeneralEnable Controls Pin
14-Jun-02 11:14
suss14-Jun-02 11:14 
GeneralStrange unhandled exception. Pin
redeemer14-Jun-02 10:57
redeemer14-Jun-02 10:57 
GeneralRe: Strange unhandled exception. Pin
14-Jun-02 11:26
suss14-Jun-02 11:26 
GeneralRe: Strange unhandled exception. Pin
Mike Nordell14-Jun-02 11:27
Mike Nordell14-Jun-02 11:27 
GeneralRe: Strange unhandled exception. Pin
Tim Smith14-Jun-02 11:36
Tim Smith14-Jun-02 11:36 
GeneralRe: Strange unhandled exception. Pin
redeemer14-Jun-02 12:05
redeemer14-Jun-02 12:05 
GeneralRe: Strange unhandled exception. Pin
Tim Smith14-Jun-02 17:23
Tim Smith14-Jun-02 17:23 
GeneralRe: Strange unhandled exception. Pin
Matt Gullett14-Jun-02 16:52
Matt Gullett14-Jun-02 16:52 
GeneralRe: Strange unhandled exception. Pin
Tim Smith14-Jun-02 17:23
Tim Smith14-Jun-02 17:23 

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.