Click here to Skip to main content
15,925,061 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Changing Bitmap Button ! Pin
Hadi Rezaee8-Sep-02 7:15
Hadi Rezaee8-Sep-02 7:15 
Generalstrings pixle length Pin
Steve L.7-Sep-02 15:56
Steve L.7-Sep-02 15:56 
GeneralRe: strings pixle length Pin
Nish Nishant7-Sep-02 16:11
sitebuilderNish Nishant7-Sep-02 16:11 
GeneralRe: strings pixle length Pin
Steve L.7-Sep-02 16:14
Steve L.7-Sep-02 16:14 
GeneralFunction parameter. Pin
WREY7-Sep-02 15:24
WREY7-Sep-02 15:24 
GeneralRe: Function parameter. Pin
Nish Nishant7-Sep-02 16:16
sitebuilderNish Nishant7-Sep-02 16:16 
GeneralRe: Function parameter. Pin
WREY7-Sep-02 16:54
WREY7-Sep-02 16:54 
GeneralRe: Function parameter. Pin
Nish Nishant7-Sep-02 17:07
sitebuilderNish Nishant7-Sep-02 17:07 
WREY wrote:
Where does 'nFontType' get set to be a combination of the various *FONTTYPE*? Does it get set by the function that activates EnumFontFamProc?

Because it's used as an input parameter, it had to be initialized somewhere and by something!


William

All 4 parameters are [in] parameters. Usually when we see [in] we instantly think of it as to be initialized by us. But in this case the callback function is called by the API for us. Means they'll populate all the parameters. What's [in] for them is a sort of [out] for us. So you don't have to worry about them being [in] parameters.

If you are implementing some other user based api call, and you wish to use this same callback function as the callback, then you need to populate them. But in your case, you don't have to do that.

I hope I make myself clear.

Regards,
Nish


Author of the romantic comedy

Summer Love and Some more Cricket [New Win]

Review by Shog9
Click here for review[NW]

Questionprocess hwnd ? Pin
imran_rafique7-Sep-02 15:03
imran_rafique7-Sep-02 15:03 
AnswerRe: process hwnd ? Pin
Ernest Laurentin7-Sep-02 15:31
Ernest Laurentin7-Sep-02 15:31 
GeneralRe: process hwnd ? Pin
imran_rafique8-Sep-02 8:56
imran_rafique8-Sep-02 8:56 
GeneralRe: process hwnd ? Pin
Ernest Laurentin9-Sep-02 14:41
Ernest Laurentin9-Sep-02 14:41 
QuestionSelecting an item in a list box? Pin
IGx897-Sep-02 14:15
IGx897-Sep-02 14:15 
AnswerRe: Selecting an item in a list box? Pin
valikac7-Sep-02 14:46
valikac7-Sep-02 14:46 
GeneralRe: Selecting an item in a list box? Pin
IGx897-Sep-02 15:40
IGx897-Sep-02 15:40 
GeneralRe: Selecting an item in a list box? Pin
valikac7-Sep-02 18:11
valikac7-Sep-02 18:11 
AnswerRe: Selecting an item in a list box? Pin
Michael Dunn7-Sep-02 15:50
sitebuilderMichael Dunn7-Sep-02 15:50 
GeneralRe: Selecting an item in a list box? Pin
IGx897-Sep-02 17:00
IGx897-Sep-02 17:00 
GeneralMSFlexGrid Pin
danag7-Sep-02 14:13
danag7-Sep-02 14:13 
Generaldatabase data in listbox Pin
danag7-Sep-02 10:08
danag7-Sep-02 10:08 
GeneralRe: database data in listbox Pin
Michael P Butler7-Sep-02 11:09
Michael P Butler7-Sep-02 11:09 
QuestionACM tutorial anyone? Pin
Redeemer-dk7-Sep-02 10:06
Redeemer-dk7-Sep-02 10:06 
GeneralInline Assembler in Dev-C++ Pin
Dominik Reichl7-Sep-02 9:38
Dominik Reichl7-Sep-02 9:38 
GeneralRe: Inline Assembler in Dev-C++ Pin
Anders Molin7-Sep-02 12:32
professionalAnders Molin7-Sep-02 12:32 
GeneralRe: Inline Assembler in Dev-C++ Pin
Dominik Reichl8-Sep-02 1:10
Dominik Reichl8-Sep-02 1:10 

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.