Click here to Skip to main content
15,913,486 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Query related to DllInstall() Pin
Randor 8-Apr-09 1:33
professional Randor 8-Apr-09 1:33 
QuestionMenu class derived from CMenu Pin
prithaa7-Apr-09 23:30
prithaa7-Apr-09 23:30 
AnswerRe: Menu class derived from CMenu Pin
Iain Clarke, Warrior Programmer8-Apr-09 0:03
Iain Clarke, Warrior Programmer8-Apr-09 0:03 
QuestionMenu and document Pin
gopalan.kaliyamoorthy7-Apr-09 23:11
gopalan.kaliyamoorthy7-Apr-09 23:11 
AnswerRe: Menu and document Pin
«_Superman_»7-Apr-09 23:22
professional«_Superman_»7-Apr-09 23:22 
GeneralRe: Menu and document Pin
gopalan.kaliyamoorthy8-Apr-09 18:40
gopalan.kaliyamoorthy8-Apr-09 18:40 
GeneralRe: Menu and document Pin
«_Superman_»8-Apr-09 19:07
professional«_Superman_»8-Apr-09 19:07 
Questionprint in splitted window Pin
susanne17-Apr-09 22:35
susanne17-Apr-09 22:35 
i have the following code to print the input and the output of 2 deifferent classes / fileds when i click the : print output or print input the programm comes to the function PrintOutput or PrintInput inside these 2 functions i have this code line to reset the cursor
position in the right filed which content to be printed and set the windows message to ID_FILE_PRINT which is in the normal case the element to be clicked in order to call OnFilePrint(). when i use OnFilePrint()indicators get an Assert debug failure because hDC is not intialized, i do not kn ow if this is the right way to solve this problem.

this is in the file sql_input.cpp

void CSQL_Input_View::OnPrintInput ()
{
m_wndSplitter.SetActivePane(0,0,0); // reset cursor position
PostMessage (WM_COMMAND, ID_FILE_PRINT);
//CEditView::OnFilePrint();
}
and this is in the file sql_output.cpp

void CSQL_Output_View::OnPrintOutput ()
{
m_wndSplitter.SetActivePane(1,0,0); // reset cursor position
PostMessage (WM_COMMAND, ID_FILE_PRINT);
//CEditView::OnFilePrint();
}

Any help would be appriciated.
Questionhow to set a class member function as parameter of an other class in its constructor ? Pin
pedefetoll7-Apr-09 22:22
pedefetoll7-Apr-09 22:22 
AnswerRe: how to set a class member function as parameter of an other class in its constructor ? Pin
TinyDevices7-Apr-09 22:26
professionalTinyDevices7-Apr-09 22:26 
GeneralRe: how to set a class member function as parameter of an other class in its constructor ? Pin
pedefetoll7-Apr-09 22:40
pedefetoll7-Apr-09 22:40 
AnswerRe: how to set a class member function as parameter of an other class in its constructor ? Pin
Stuart Dootson7-Apr-09 22:34
professionalStuart Dootson7-Apr-09 22:34 
QuestionWriting a similar function as ComboBox SelectString Pin
beko7-Apr-09 21:16
beko7-Apr-09 21:16 
AnswerRe: Writing a similar function as ComboBox SelectString Pin
Stuart Dootson7-Apr-09 21:53
professionalStuart Dootson7-Apr-09 21:53 
GeneralRe: Writing a similar function as ComboBox SelectString Pin
beko7-Apr-09 22:09
beko7-Apr-09 22:09 
QuestionRe: Writing a similar function as ComboBox SelectString Pin
TinyDevices7-Apr-09 22:23
professionalTinyDevices7-Apr-09 22:23 
AnswerRe: Writing a similar function as ComboBox SelectString Pin
Stuart Dootson7-Apr-09 22:27
professionalStuart Dootson7-Apr-09 22:27 
GeneralRe: Writing a similar function as ComboBox SelectString Pin
TinyDevices7-Apr-09 22:33
professionalTinyDevices7-Apr-09 22:33 
QuestionDLL multy [modified] Pin
denisxfrom7-Apr-09 20:49
denisxfrom7-Apr-09 20:49 
AnswerRe: DLL multy Pin
Stuart Dootson7-Apr-09 21:20
professionalStuart Dootson7-Apr-09 21:20 
Questionhai Pin
roopa.n7-Apr-09 20:39
roopa.n7-Apr-09 20:39 
AnswerRe: hai Pin
TinyDevices7-Apr-09 22:26
professionalTinyDevices7-Apr-09 22:26 
JokeRe: hai Pin
Nelek8-Apr-09 0:30
protectorNelek8-Apr-09 0:30 
AnswerRe: hai Pin
0x3c08-Apr-09 1:32
0x3c08-Apr-09 1:32 
Questionhai Pin
roopa.n7-Apr-09 20:38
roopa.n7-Apr-09 20:38 

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.