Click here to Skip to main content
15,912,069 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMAPI in NT Service - PLEASE HELP?? Pin
Dan Madden18-Feb-01 9:37
Dan Madden18-Feb-01 9:37 
AnswerRe: MAPI in NT Service - PLEASE HELP?? Pin
l a u r e n18-Feb-01 20:00
l a u r e n18-Feb-01 20:00 
GeneralRe: MAPI in NT Service - PLEASE HELP?? Pin
Dan Madden18-Feb-01 21:30
Dan Madden18-Feb-01 21:30 
GeneralRe: MAPI in NT Service - PLEASE HELP?? Pin
8-Jun-01 6:22
suss8-Jun-01 6:22 
GeneralDrawing a CListCtrl to a MemDC Pin
Alex Deem18-Feb-01 6:26
Alex Deem18-Feb-01 6:26 
GeneralRe: Drawing a CListCtrl to a MemDC Pin
Michael Dunn18-Feb-01 8:09
sitebuilderMichael Dunn18-Feb-01 8:09 
GeneralI need good Algourithm ... Pin
Hadi Rezaee18-Feb-01 6:23
Hadi Rezaee18-Feb-01 6:23 
GeneralRe: I need good Algourithm ... Pin
l a u r e n18-Feb-01 7:10
l a u r e n18-Feb-01 7:10 
hmmmmm
you could make an array of the button control id's and a value you want, ie,

struct myButton {
int nCtrlID;
int nMyValue;
};

all the button click events route to one function that decodes which button was clicked from its id value and returns the correct integer value to your app

kinda would work but i think its dodgy and would rather have 50 click events ... it is more robust



Suspicious | :suss:

mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes themint
GeneralRe: I need good Algourithm ... Pin
18-Feb-01 10:18
suss18-Feb-01 10:18 
GeneralRe: I need good Algourithm ... Pin
Christian Graus18-Feb-01 10:21
protectorChristian Graus18-Feb-01 10:21 
GeneralRe: I need good Algourithm ... Pin
Julien18-Feb-01 11:59
Julien18-Feb-01 11:59 
GeneralRe: I need good Algourithm ... Pin
Tim Deveaux19-Feb-01 10:24
Tim Deveaux19-Feb-01 10:24 
GeneralBackUp Files in VC++ Pin
Gleb18-Feb-01 0:00
Gleb18-Feb-01 0:00 
GeneralRe: BackUp Files in VC++ Pin
Christian Graus18-Feb-01 10:24
protectorChristian Graus18-Feb-01 10:24 
Generalsingleton class Pin
17-Feb-01 19:08
suss17-Feb-01 19:08 
GeneralRe: singleton class Pin
Michael Dunn17-Feb-01 19:48
sitebuilderMichael Dunn17-Feb-01 19:48 
GeneralSelf destructing exe Pin
17-Feb-01 18:18
suss17-Feb-01 18:18 
GeneralRe: Self destructing exe Pin
l a u r e n18-Feb-01 4:53
l a u r e n18-Feb-01 4:53 
GeneralRe: Self destructing exe Pin
19-Feb-01 9:03
suss19-Feb-01 9:03 
GeneralRe: clown chips Pin
l a u r e n19-Feb-01 11:04
l a u r e n19-Feb-01 11:04 
GeneralRe: Self destructing exe Pin
Jason De Arte19-Feb-01 8:23
Jason De Arte19-Feb-01 8:23 
GeneralRe: Self destructing exe Pin
19-Feb-01 9:08
suss19-Feb-01 9:08 
GeneralSelf destructing exe Pin
17-Feb-01 18:15
suss17-Feb-01 18:15 
GeneralHRESULT and SetLastError Pin
PJ Arends17-Feb-01 16:09
professionalPJ Arends17-Feb-01 16:09 
GeneralRe: HRESULT and SetLastError Pin
Ancient Dragon17-Feb-01 17:26
Ancient Dragon17-Feb-01 17:26 

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.