Click here to Skip to main content
15,927,174 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: _rmdir and errno question... Pin
Nish Nishant7-Sep-02 20:19
sitebuilderNish Nishant7-Sep-02 20:19 
GeneralSQL Server & MFC Pin
zuken217-Sep-02 19:50
zuken217-Sep-02 19:50 
GeneralRe: SQL Server & MFC Pin
Michael P Butler7-Sep-02 20:54
Michael P Butler7-Sep-02 20:54 
GeneralWIA Question Pin
Hiusing7-Sep-02 19:18
Hiusing7-Sep-02 19:18 
GeneralChanging Bitmap Button ! Pin
Hadi Rezaee7-Sep-02 18:51
Hadi Rezaee7-Sep-02 18:51 
GeneralRe: Changing Bitmap Button ! Pin
Nish Nishant7-Sep-02 20:00
sitebuilderNish Nishant7-Sep-02 20:00 
GeneralRe: Changing Bitmap Button ! Pin
Hadi Rezaee8-Sep-02 7:10
Hadi Rezaee8-Sep-02 7:10 
GeneralRe: Changing Bitmap Button ! Pin
Joaquín M López Muñoz8-Sep-02 5:42
Joaquín M López Muñoz8-Sep-02 5:42 
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 

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.