Click here to Skip to main content
15,907,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Strange Codes Pin
David Crow29-Jul-03 8:32
David Crow29-Jul-03 8:32 
GeneralRe: Strange Codes Pin
FlyingDancer29-Jul-03 14:39
FlyingDancer29-Jul-03 14:39 
GeneralRe: Strange Codes Pin
David Crow29-Jul-03 16:49
David Crow29-Jul-03 16:49 
GeneralSet Fullscreen mode Pin
soundman3229-Jul-03 3:39
soundman3229-Jul-03 3:39 
GeneralRe: Set Fullscreen mode Pin
zeki yugnak29-Jul-03 4:26
zeki yugnak29-Jul-03 4:26 
GeneralRe: Set Fullscreen mode Pin
soundman3229-Jul-03 5:06
soundman3229-Jul-03 5:06 
GeneralRe: Set Fullscreen mode Pin
wb29-Jul-03 5:18
wb29-Jul-03 5:18 
GeneralRe: Set Fullscreen mode Pin
User 2237029-Jul-03 6:04
User 2237029-Jul-03 6:04 
Functional but not very elegant - this sends a Ctrl+Enter to the console window:

<br />
#include <windows.h><br />
#include <conio.h><br />
<br />
int _tmain(int argc, _TCHAR* argv[])<br />
{<br />
    keybd_event( VK_MENU, MapVirtualKey( VK_MENU, 0 ), 0, 0 );<br />
    keybd_event( VK_RETURN, MapVirtualKey( VK_RETURN, 0 ), 0, 0 );<br />
    keybd_event( VK_RETURN, MapVirtualKey( VK_RETURN, 0 ), KEYEVENTF_KEYUP, 0 );<br />
    keybd_event( VK_MENU, MapVirtualKey( VK_MENU, 0 ), KEYEVENTF_KEYUP, 0 );<br />
  <br />
<br />
  getch();<br />
  return 0;<br />
}


Displaced Aussie. Currently in London, normally living in Melbourne.

modified 10-Jul-19 21:02pm.

GeneralSAFEARRAY.. Pin
JoeSox29-Jul-03 3:36
JoeSox29-Jul-03 3:36 
GeneralRe: SAFEARRAY.. Pin
Ian Darling29-Jul-03 4:17
Ian Darling29-Jul-03 4:17 
GeneralRe: SAFEARRAY.. Pin
JoeSox29-Jul-03 6:05
JoeSox29-Jul-03 6:05 
GeneralCDC BitBlt problem Pin
_crs_29-Jul-03 3:12
_crs_29-Jul-03 3:12 
GeneralHmmm, it should have worked... Pin
Kochise29-Jul-03 4:30
Kochise29-Jul-03 4:30 
GeneralRe: CDC BitBlt problem Pin
Chris Losinger29-Jul-03 5:36
professionalChris Losinger29-Jul-03 5:36 
GeneralDebug Assertion Failed Pin
Luke Murray29-Jul-03 3:06
Luke Murray29-Jul-03 3:06 
GeneralRe: Debug Assertion Failed Pin
Michael Dunn29-Jul-03 5:05
sitebuilderMichael Dunn29-Jul-03 5:05 
GeneralRe: Debug Assertion Failed Pin
Luke Murray29-Jul-03 21:18
Luke Murray29-Jul-03 21:18 
Question#region in vc? Pin
novachen29-Jul-03 2:01
novachen29-Jul-03 2:01 
AnswerRe: #region in vc? Pin
Alexander M.,29-Jul-03 9:22
Alexander M.,29-Jul-03 9:22 
GeneralPrint a postscript file Pin
Jerome Conus29-Jul-03 2:01
Jerome Conus29-Jul-03 2:01 
GeneralRe: Print a postscript file Pin
jhwurmbach29-Jul-03 3:17
jhwurmbach29-Jul-03 3:17 
GeneralRe: Print a postscript file Pin
Jerome Conus29-Jul-03 3:22
Jerome Conus29-Jul-03 3:22 
GeneralRe: Print a postscript file Pin
jhwurmbach29-Jul-03 3:35
jhwurmbach29-Jul-03 3:35 
Generalbmp2png Pin
ariez29-Jul-03 1:57
ariez29-Jul-03 1:57 
GeneralRe: bmp2png Pin
zeki yugnak29-Jul-03 4:30
zeki yugnak29-Jul-03 4:30 

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.