Click here to Skip to main content
16,016,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Progress bar being resized Pin
David Crow10-Nov-05 10:59
David Crow10-Nov-05 10:59 
AnswerRe: Progress bar being resized Pin
krmed10-Nov-05 17:00
krmed10-Nov-05 17:00 
GeneralRe: Progress bar being resized Pin
PrashantJ11-Nov-05 3:25
PrashantJ11-Nov-05 3:25 
QuestionIs there a deeper, hidden meaning behind this. Pin
WREY10-Nov-05 9:53
WREY10-Nov-05 9:53 
AnswerRe: Is there a deeper, hidden meaning behind this. Pin
David Crow10-Nov-05 10:52
David Crow10-Nov-05 10:52 
GeneralRe: Is there a deeper, hidden meaning behind this. Pin
WREY10-Nov-05 12:44
WREY10-Nov-05 12:44 
AnswerRe: Is there a deeper, hidden meaning behind this. Pin
John R. Shaw10-Nov-05 17:40
John R. Shaw10-Nov-05 17:40 
GeneralRe: Is there a deeper, hidden meaning behind this. Pin
PJ Arends11-Nov-05 7:59
professionalPJ Arends11-Nov-05 7:59 
John R. Shaw wrote:
I consider that more important, because I would have just returned the handle to hWnd or 0, instead of returning TRUE or FALSE. It would have been a lot simpler.


Searcher is an EnumWindows callback function. Nowhere in the documentation (that I could find anyway) do you have access to the return value from the callback function. It is only used by the EnumWindows function as a signal to continue or stop the search. The LPARAM parameter however is guaranteed to be consistant through out the EnumWindows process. The idea behind the code is to return the HWND of the found window to the process that called EnumWindows, and it is done through the LPARAM variable.



"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" - mYkel - 21 Jun '04

"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05

Within you lies the power for good - Use it!
GeneralRe: Is there a deeper, hidden meaning behind this. Pin
John R. Shaw11-Nov-05 9:13
John R. Shaw11-Nov-05 9:13 
GeneralRe: Is there a deeper, hidden meaning behind this. Pin
WREY14-Nov-05 7:15
WREY14-Nov-05 7:15 
AnswerRe: Is there a deeper, hidden meaning behind this. Pin
Owner drawn13-Nov-05 17:51
Owner drawn13-Nov-05 17:51 
QuestionCan not retrieve current URL address Pin
llp00na10-Nov-05 9:50
llp00na10-Nov-05 9:50 
AnswerRe: Can not retrieve current URL address Pin
*Dreamz10-Nov-05 17:35
*Dreamz10-Nov-05 17:35 
QuestionPackage load error in VS2005? Pin
TheGreatAndPowerfulOz10-Nov-05 8:38
TheGreatAndPowerfulOz10-Nov-05 8:38 
QuestionHow can I add a local hot key? Pin
DanYELL10-Nov-05 8:29
DanYELL10-Nov-05 8:29 
AnswerRe: How can I add a local hot key? Pin
David Crow10-Nov-05 8:41
David Crow10-Nov-05 8:41 
AnswerRe: How can I add a local hot key? Pin
Owner drawn10-Nov-05 18:04
Owner drawn10-Nov-05 18:04 
Questionhow to bold static text control Pin
elephantstar10-Nov-05 7:39
elephantstar10-Nov-05 7:39 
AnswerRe: how to bold static text control Pin
David Crow10-Nov-05 8:24
David Crow10-Nov-05 8:24 
GeneralRe: how to bold static text control Pin
elephantstar10-Nov-05 12:43
elephantstar10-Nov-05 12:43 
QuestionControl Data Entry in Console Applications Pin
Sabry190510-Nov-05 7:31
Sabry190510-Nov-05 7:31 
QuestionRe: Control Data Entry in Console Applications Pin
David Crow10-Nov-05 8:27
David Crow10-Nov-05 8:27 
QuestionHow can I reuse function in C file for my GUI MFC project Pin
Loc Milkyway10-Nov-05 7:22
Loc Milkyway10-Nov-05 7:22 
AnswerRe: How can I reuse function in C file for my GUI MFC project Pin
LighthouseJ10-Nov-05 7:39
LighthouseJ10-Nov-05 7:39 
GeneralRe: How can I reuse function in EXTERNAL C file for my GUI MFC project Pin
Loc Milkyway10-Nov-05 9:44
Loc Milkyway10-Nov-05 9:44 

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.