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

C / C++ / MFC

 
GeneralRe: detect if user has admin privilege Pin
Daniel Turini24-Nov-02 22:06
Daniel Turini24-Nov-02 22:06 
GeneralCreating a window in an ATL without MFC Pin
Jerome Conus24-Nov-02 20:19
Jerome Conus24-Nov-02 20:19 
GeneralRe: Creating a window in an ATL without MFC Pin
Daniel Turini24-Nov-02 22:12
Daniel Turini24-Nov-02 22:12 
GeneralPreTranslateMessage question Pin
Mel Feik24-Nov-02 19:45
Mel Feik24-Nov-02 19:45 
GeneralRe: PreTranslateMessage question Pin
Christian Graus24-Nov-02 20:21
protectorChristian Graus24-Nov-02 20:21 
GeneralRe: PreTranslateMessage question Pin
Mel Feik24-Nov-02 20:39
Mel Feik24-Nov-02 20:39 
GeneralRe: PreTranslateMessage question Pin
Christian Graus24-Nov-02 20:46
protectorChristian Graus24-Nov-02 20:46 
GeneralRe: PreTranslateMessage question Pin
Christian Graus24-Nov-02 20:51
protectorChristian Graus24-Nov-02 20:51 
Mel Feik wrote:
I'll likely take a stab using OnKeyDown

WM_KEYDOWN sends a VK code, but WM_CHAR sends the actual char, from what I can tell. I am using MFC7 ( and that means adding message handlers manually BTW Smile | :) ), but I think the wParam value in WM_CHAR will work the same as the UINT in my code sample.

Mel Feik wrote:
How was the weekend?

Parts were great, parts were awful. The average of all tabulated values is probably 'fair to middling'. I saw you were working ? Is my code working for you yet ?

Mel Feik wrote:
I just figured that using PreTranslateMessage was going be the least amount of effort on my part

I am sure WM_CHAR will work easily. I always try to avoid PreTranslateMessage if I can.


Christian

No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002

Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002

Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
GeneralRe: PreTranslateMessage question Pin
Mel Feik24-Nov-02 21:05
Mel Feik24-Nov-02 21:05 
GeneralRe: PreTranslateMessage question Pin
Cosmin Marin25-Nov-02 0:52
Cosmin Marin25-Nov-02 0:52 
GeneralAdding text to toolbar buttons into a standard MFC SDI App Pin
Alex Cramer24-Nov-02 18:35
Alex Cramer24-Nov-02 18:35 
GeneralRe: Adding text to toolbar buttons into a standard MFC SDI App Pin
Anonymous25-Nov-02 23:46
Anonymous25-Nov-02 23:46 
Generalhelp! CreateThread! Pin
devvvy24-Nov-02 18:13
devvvy24-Nov-02 18:13 
GeneralRe: help! CreateThread! Pin
Michael Dunn24-Nov-02 18:20
sitebuilderMichael Dunn24-Nov-02 18:20 
GeneralRe: help! CreateThread! Pin
devvvy24-Nov-02 18:40
devvvy24-Nov-02 18:40 
GeneralRe: help! CreateThread! Pin
devvvy24-Nov-02 18:47
devvvy24-Nov-02 18:47 
Questionhow can i repair and compact the access2000 database using ado in vc? Pin
whelk24-Nov-02 17:42
whelk24-Nov-02 17:42 
AnswerRe: how can i repair and compact the access2000 database using ado in vc? Pin
paulb24-Nov-02 18:07
paulb24-Nov-02 18:07 
GeneralRe: how can i repair and compact the access2000 database using ado in vc? Pin
whelk24-Nov-02 18:58
whelk24-Nov-02 18:58 
GeneralRe: how can i repair and compact the access2000 database using ado in vc? Pin
Alexinuk25-Nov-02 3:12
Alexinuk25-Nov-02 3:12 
Generalthe CDaodatabase dont support access2000 Pin
whelk25-Nov-02 14:52
whelk25-Nov-02 14:52 
GeneralToolbar dependent bitmaps in my Popup menus Pin
Mr Bose Dayala24-Nov-02 17:31
Mr Bose Dayala24-Nov-02 17:31 
GeneralCreating Line Count for CRich Edit Control Pin
E324-Nov-02 16:34
E324-Nov-02 16:34 
GeneralCustom compiler steps... Pin
Matt Gullett24-Nov-02 16:03
Matt Gullett24-Nov-02 16:03 
GeneralRe: Custom compiler steps... Pin
Chris Losinger24-Nov-02 16:33
professionalChris Losinger24-Nov-02 16:33 

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.