Click here to Skip to main content
15,916,091 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: USB interaction from user space. I need some light please! Pin
Randor 15-Jul-09 8:08
professional Randor 15-Jul-09 8:08 
GeneralRe: USB interaction from user space. I need some light please! Pin
sinosoidal15-Jul-09 9:34
sinosoidal15-Jul-09 9:34 
QuestionProblem with the reading of the BMP file Pin
TeslaShock14-Jul-09 5:27
TeslaShock14-Jul-09 5:27 
AnswerRe: Problem with the reading of the BMP file Pin
Chris Losinger14-Jul-09 6:01
professionalChris Losinger14-Jul-09 6:01 
GeneralRe: Problem with the reading of the BMP file Pin
TeslaShock14-Jul-09 6:13
TeslaShock14-Jul-09 6:13 
AnswerRe: Problem with the reading of the BMP file Pin
Joe Woodbury14-Jul-09 6:38
professionalJoe Woodbury14-Jul-09 6:38 
GeneralRe: Problem with the reading of the BMP file Pin
TeslaShock16-Jul-09 5:13
TeslaShock16-Jul-09 5:13 
QuestionOnInitDialog() never be called Pin
transoft14-Jul-09 2:22
transoft14-Jul-09 2:22 
Hi
I designed a dialog box using "DlgProc" to handle message.

CMyDialog::CMyDialog()
{
...
GetOFN().lpfnHook = DlgProc;
...
}

UINT CALLBACK DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch (uMsg)
{
}

return 0;
}
BOOL CMyDialog::OnInitDialog()
{
}

But OnInitDialog() is never called, how can I fix it

Best regards,
QuestionRe: OnInitDialog() never be called Pin
CPallini14-Jul-09 2:35
mveCPallini14-Jul-09 2:35 
AnswerRe: OnInitDialog() never be called Pin
transoft14-Jul-09 2:42
transoft14-Jul-09 2:42 
GeneralRe: OnInitDialog() never be called Pin
Cedric Moonen14-Jul-09 2:48
Cedric Moonen14-Jul-09 2:48 
GeneralRe: OnInitDialog() never be called Pin
transoft14-Jul-09 6:05
transoft14-Jul-09 6:05 
GeneralRe: OnInitDialog() never be called Pin
Cedric Moonen14-Jul-09 7:20
Cedric Moonen14-Jul-09 7:20 
GeneralRe: OnInitDialog() never be called Pin
transoft14-Jul-09 7:24
transoft14-Jul-09 7:24 
GeneralRe: OnInitDialog() never be called Pin
Cedric Moonen14-Jul-09 7:28
Cedric Moonen14-Jul-09 7:28 
AnswerRe: OnInitDialog() never be called Pin
Cedric Moonen14-Jul-09 2:44
Cedric Moonen14-Jul-09 2:44 
GeneralRe: OnInitDialog() never be called Pin
transoft14-Jul-09 5:57
transoft14-Jul-09 5:57 
AnswerRe: OnInitDialog() never be called Pin
Roger Stoltz14-Jul-09 5:22
Roger Stoltz14-Jul-09 5:22 
GeneralRe: OnInitDialog() never be called Pin
transoft14-Jul-09 5:46
transoft14-Jul-09 5:46 
QuestionRe: OnInitDialog() never be called Pin
Roger Stoltz14-Jul-09 6:14
Roger Stoltz14-Jul-09 6:14 
AnswerRe: OnInitDialog() never be called Pin
transoft14-Jul-09 6:23
transoft14-Jul-09 6:23 
AnswerRe: OnInitDialog() never be called Pin
Roger Stoltz14-Jul-09 6:44
Roger Stoltz14-Jul-09 6:44 
GeneralRe: OnInitDialog() never be called Pin
transoft14-Jul-09 7:22
transoft14-Jul-09 7:22 
AnswerRe: OnInitDialog() never be called Pin
Joe Woodbury14-Jul-09 6:40
professionalJoe Woodbury14-Jul-09 6:40 
GeneralRe: OnInitDialog() never be called Pin
transoft14-Jul-09 6:49
transoft14-Jul-09 6:49 

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.