Click here to Skip to main content
16,005,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: the best select statement .. Pin
Prakash Nadar30-Jan-06 6:04
Prakash Nadar30-Jan-06 6:04 
GeneralRe: thanks but .. Pin
Deema Jack31-Jan-06 2:30
Deema Jack31-Jan-06 2:30 
AnswerThe Best Conditional statement .. Pin
Eytukan30-Jan-06 6:48
Eytukan30-Jan-06 6:48 
GeneralRe: The Best Conditional statement .. Pin
toxcct30-Jan-06 6:55
toxcct30-Jan-06 6:55 
GeneralRe: The Best Conditional statement .. Pin
Eytukan30-Jan-06 7:14
Eytukan30-Jan-06 7:14 
GeneralRe: The Best Conditional statement .. Pin
BadKarma30-Jan-06 9:50
BadKarma30-Jan-06 9:50 
GeneralRe: The Best Conditional statement .. Pin
Eytukan30-Jan-06 20:16
Eytukan30-Jan-06 20:16 
QuestionUsing a non static member in a overloaded static member function Pin
arunaas30-Jan-06 5:16
arunaas30-Jan-06 5:16 
Hi
The scenario here: Have a static member function defined in a base class which is being overridden in the derived class. This overloaded static member function needs to use a non static member variable.

So, as of now, trying not to change the signature of the static member function since it is part of the WTL - CDialogResize<t>.

As of now, workaround:

Since I am unable to pass the non static member as an parameter to the function without changing the signature of the function in the derived class as well as the base class, created a static member that stores the non static member value which I then use during the execution of the static function.

The problem here is that the value becomes static. So, even for a different instance of the same class, this values gets updated. This is not a preferred behavior in this case. Any tips would be appreciated.

Regards
Aruna
AnswerRe: Using a non static member in a overloaded static member function Pin
Michael Dunn30-Jan-06 7:26
sitebuilderMichael Dunn30-Jan-06 7:26 
QuestionRe: Using a non static member in a overloaded static member function Pin
arunaas30-Jan-06 14:15
arunaas30-Jan-06 14:15 
Questionwhich function can covert a hex string to value? Pin
includeh1030-Jan-06 4:50
includeh1030-Jan-06 4:50 
AnswerRe: which function can covert a hex string to value? Pin
David Crow30-Jan-06 4:53
David Crow30-Jan-06 4:53 
AnswerRe: which function can covert a hex string to value? Pin
Dominik Reichl30-Jan-06 4:56
Dominik Reichl30-Jan-06 4:56 
QuestionThe swapping section in a puzzle game Pin
eivanlo30-Jan-06 4:38
eivanlo30-Jan-06 4:38 
AnswerRe: The swapping section in a puzzle game Pin
Rage30-Jan-06 4:54
professionalRage30-Jan-06 4:54 
Questionmanaging serial port interrupt Pin
misturas30-Jan-06 4:32
misturas30-Jan-06 4:32 
AnswerRe: managing serial port interrupt Pin
Rage30-Jan-06 4:59
professionalRage30-Jan-06 4:59 
GeneralRe: managing serial port interrupt Pin
Cedric Moonen30-Jan-06 6:24
Cedric Moonen30-Jan-06 6:24 
GeneralRe: managing serial port interrupt Pin
Rage30-Jan-06 6:43
professionalRage30-Jan-06 6:43 
AnswerRe: managing serial port interrupt Pin
Rage30-Jan-06 5:00
professionalRage30-Jan-06 5:00 
GeneralRe: managing serial port interrupt Pin
misturas30-Jan-06 5:06
misturas30-Jan-06 5:06 
GeneralRe: managing serial port interrupt Pin
Rage30-Jan-06 5:16
professionalRage30-Jan-06 5:16 
AnswerRe: managing serial port interrupt Pin
Cedric Moonen30-Jan-06 6:28
Cedric Moonen30-Jan-06 6:28 
AnswerRe: managing serial port interrupt Pin
Iain Clarke, Warrior Programmer30-Jan-06 8:35
Iain Clarke, Warrior Programmer30-Jan-06 8:35 
GeneralRe: managing serial port interrupt Pin
misturas30-Jan-06 9:13
misturas30-Jan-06 9:13 

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.