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

C / C++ / MFC

 
AnswerRe: how to write new line character in a text file? Pin
Nishad S21-Sep-07 23:48
Nishad S21-Sep-07 23:48 
AnswerRe: how to write new line character in a text file? Pin
Hamid_RT21-Sep-07 23:55
Hamid_RT21-Sep-07 23:55 
GeneralRe: how to write new line character in a text file? Pin
Nishad S22-Sep-07 0:11
Nishad S22-Sep-07 0:11 
GeneralRe: how to write new line character in a text file? Pin
Hamid_RT22-Sep-07 0:15
Hamid_RT22-Sep-07 0:15 
GeneralRe: how to write new line character in a text file? Pin
Nishad S22-Sep-07 0:36
Nishad S22-Sep-07 0:36 
GeneralRe: how to write new line character in a text file? Pin
Hamid_RT22-Sep-07 1:55
Hamid_RT22-Sep-07 1:55 
AnswerRe: how to write new line character in a text file? Pin
David Crow23-Sep-07 10:16
David Crow23-Sep-07 10:16 
QuestionHot Key Problem. Pin
GauranG Shah21-Sep-07 21:11
GauranG Shah21-Sep-07 21:11 
am using Hot key in one of my appliation.But there is a problem.
The Hot key combination works only when the focus is on that window Sniff | :^) . while my application is runing in the background( Its a Win32 dialog based application and i make dialog hidden at startup)and so the Hot key is not working. Is there any way I can solve this. Confused | :confused:

I am using something like this now,
LRESULT CALLBACK MyDialogProc(HWND hWndDlg,....)
{
 ShowWindow(hWndDlg,SW_HIDE);
  switch(message)
	 {
          case  WM_INITDIALOG:
		 { 
	           InitCommonControls(); 
		   HWND hHotKey = GetDlgItem(hWndDlg,IDC_HOTKEY1);
		   if(!RegisterHotKey(hWndDlg , IDC_HOTKEY1, MOD_ALT | MOD_CONTROL,0x67))
           		 {
				dError = GetLastError();
				MessageBox(NULL,L"Hot Key Not Working ",L"Error",0);
			 }
					
						
	          }
		break;
	 case WM_HOTKEY:
	             ChangeString(hWndDlg);
	             break;
      }
}



Thnx in advance.....





AnswerRe: Hot Key Problem. Pin
nbugalia22-Sep-07 7:10
nbugalia22-Sep-07 7:10 
GeneralRe: Hot Key Problem. Pin
GauranG Shah23-Sep-07 20:09
GauranG Shah23-Sep-07 20:09 
QuestionHBITMAP Pin
nitin321-Sep-07 20:34
nitin321-Sep-07 20:34 
AnswerRe: HBITMAP Pin
John R. Shaw21-Sep-07 20:55
John R. Shaw21-Sep-07 20:55 
AnswerRe: HBITMAP Pin
Hamid_RT21-Sep-07 23:39
Hamid_RT21-Sep-07 23:39 
AnswerRe: HBITMAP Pin
Nishad S21-Sep-07 23:39
Nishad S21-Sep-07 23:39 
Questioni want to add installation wizard dialog box in mfc application. Pin
Dhiraj kumar Saini21-Sep-07 19:28
Dhiraj kumar Saini21-Sep-07 19:28 
AnswerRe: i want to add installation wizard dialog box in mfc application. Pin
prasad_som21-Sep-07 19:39
prasad_som21-Sep-07 19:39 
AnswerRe: i want to add installation wizard dialog box in mfc application. Pin
Hamid_RT21-Sep-07 23:42
Hamid_RT21-Sep-07 23:42 
QuestionWhat such code mean? Pin
kcynic21-Sep-07 19:04
kcynic21-Sep-07 19:04 
AnswerRe: What such code mean? Pin
nitin321-Sep-07 19:25
nitin321-Sep-07 19:25 
AnswerRe: What such code mean? Pin
prasad_som21-Sep-07 19:41
prasad_som21-Sep-07 19:41 
GeneralRe: What such code mean? Pin
kcynic21-Sep-07 21:35
kcynic21-Sep-07 21:35 
GeneralRe: What such code mean? Pin
kcynic21-Sep-07 22:03
kcynic21-Sep-07 22:03 
AnswerRe: What such code mean? Pin
John R. Shaw21-Sep-07 21:08
John R. Shaw21-Sep-07 21:08 
QuestionGetting the process that owns the window Pin
Tydia-kun21-Sep-07 10:24
Tydia-kun21-Sep-07 10:24 
AnswerRe: Getting the process that owns the window Pin
Mark Salsbery21-Sep-07 11:08
Mark Salsbery21-Sep-07 11:08 

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.