Click here to Skip to main content
15,888,979 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSet window position Pin
_Flaviu4-Feb-12 5:34
_Flaviu4-Feb-12 5:34 
AnswerRe: Set window position Pin
Richard Andrew x644-Feb-12 10:57
professionalRichard Andrew x644-Feb-12 10:57 
GeneralRe: Set window position Pin
_Flaviu4-Feb-12 21:33
_Flaviu4-Feb-12 21:33 
AnswerRe: Set window position Pin
Chuck O'Toole5-Feb-12 4:57
Chuck O'Toole5-Feb-12 4:57 
GeneralRe: Set window position Pin
_Flaviu5-Feb-12 20:30
_Flaviu5-Feb-12 20:30 
QuestionGetter and setter style class implementation in VC++ Pin
Member 78851053-Feb-12 19:23
Member 78851053-Feb-12 19:23 
AnswerRe: Getter and setter style class implementation in VC++ Pin
Albert Holguin3-Feb-12 21:17
professionalAlbert Holguin3-Feb-12 21:17 
GeneralRe: Getter and setter style class implementation in VC++ Pin
Member 78851053-Feb-12 22:19
Member 78851053-Feb-12 22:19 
Dear Albert, Thank you so much for your help. I chose second option and its working perfectly Thumbs Up | :thumbsup: . I just changed this part below and its working just like I want.

1. SaveClass.h

class SaveClass
{
public:
SaveClass(void);
~SaveClass(void);
int Get() const;
int Set(int var);
};

static int testVariable_static = 1;

2. SaveClass.cpp

int SaveClass::Get() const
{
return testVariable_static;
}

int SaveClass::Set(int var)
{
testVariable_static = var;
return testVariable_static;
}
AnswerRe: Getter and setter style class implementation in VC++ Pin
Albert Holguin4-Feb-12 8:08
professionalAlbert Holguin4-Feb-12 8:08 
QuestionMessage for CASynsocket::OnConnect Pin
ForNow3-Feb-12 10:55
ForNow3-Feb-12 10:55 
AnswerRe: Message for CASynsocket::OnConnect Pin
Albert Holguin3-Feb-12 11:20
professionalAlbert Holguin3-Feb-12 11:20 
QuestionUpdating the color of child Window Pin
cpp_prgmer3-Feb-12 9:39
cpp_prgmer3-Feb-12 9:39 
AnswerRe: Updating the color of child Window Pin
Albert Holguin3-Feb-12 10:41
professionalAlbert Holguin3-Feb-12 10:41 
AnswerRe: Updating the color of child Window Pin
«_Superman_»3-Feb-12 15:32
professional«_Superman_»3-Feb-12 15:32 
QuestionHow to use DeviceIoControl to access an external USB device from MFC Pin
StefanKittel3-Feb-12 5:37
StefanKittel3-Feb-12 5:37 
AnswerRe: How to use DeviceIoControl to access an external USB device from MFC Pin
Erudite_Eric3-Feb-12 6:29
Erudite_Eric3-Feb-12 6:29 
GeneralRe: How to use DeviceIoControl to access an external USB device from MFC Pin
StefanKittel3-Feb-12 6:46
StefanKittel3-Feb-12 6:46 
GeneralRe: How to use DeviceIoControl to access an external USB device from MFC Pin
Erudite_Eric4-Feb-12 4:32
Erudite_Eric4-Feb-12 4:32 
GeneralRe: How to use DeviceIoControl to access an external USB device from MFC Pin
StefanKittel4-Feb-12 4:49
StefanKittel4-Feb-12 4:49 
GeneralRe: How to use DeviceIoControl to access an external USB device from MFC Pin
Erudite_Eric4-Feb-12 22:42
Erudite_Eric4-Feb-12 22:42 
GeneralRe: How to use DeviceIoControl to access an external USB device from MFC Pin
StefanKittel5-Feb-12 10:20
StefanKittel5-Feb-12 10:20 
SuggestionRe: How to use DeviceIoControl to access an external USB device from MFC Pin
David Crow5-Feb-12 17:02
David Crow5-Feb-12 17:02 
Question"InvalidateRect" leaves dirty on screen Pin
transoft3-Feb-12 3:59
transoft3-Feb-12 3:59 
AnswerRe: "InvalidateRect" leaves dirty on screen Pin
Richard MacCutchan3-Feb-12 4:02
mveRichard MacCutchan3-Feb-12 4:02 
GeneralRe: "InvalidateRect" leaves dirty on screen Pin
transoft3-Feb-12 4:11
transoft3-Feb-12 4:11 

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.