Click here to Skip to main content
16,014,669 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Run application in start up. Pin
Jon Hulatt3-Apr-02 5:42
Jon Hulatt3-Apr-02 5:42 
GeneralRe: Run application in start up. Pin
Mazdak3-Apr-02 5:59
Mazdak3-Apr-02 5:59 
QuestionHow to change the listbox background? Pin
Hans Ruck3-Apr-02 4:55
Hans Ruck3-Apr-02 4:55 
AnswerRe: How to change the listbox background? Pin
Ravi Bhavnani3-Apr-02 5:22
professionalRavi Bhavnani3-Apr-02 5:22 
GeneralRe: How to change the listbox background? Pin
Hans Ruck3-Apr-02 5:37
Hans Ruck3-Apr-02 5:37 
GeneralRe: How to change the listbox background? Pin
Ravi Bhavnani3-Apr-02 5:43
professionalRavi Bhavnani3-Apr-02 5:43 
Generalstructures Pin
RK_20003-Apr-02 5:00
RK_20003-Apr-02 5:00 
GeneralRe: structures Pin
Paul M Watt3-Apr-02 6:08
mentorPaul M Watt3-Apr-02 6:08 
You need to create an instance of the static structure outside of you class like this:

struct RECT
{
  ...
};


class window
{
  static RECT rClient;
  ...
};

RECT window::rClient;


Declaring the RECT window::rClient outside of the class tells the compiler to allocate memory for the structure outside of the class, and only one instance will be allocated for the class on the stack. Since it is on the stack, you do not need to do anything else to free resources.
GeneralRe: structures Pin
3-Apr-02 6:11
suss3-Apr-02 6:11 
GeneralA DAO Problem ! Pin
3-Apr-02 4:48
suss3-Apr-02 4:48 
Generaldistorted bitmaps and meta's using diff resolutions Pin
IGeorgeI3-Apr-02 4:25
IGeorgeI3-Apr-02 4:25 
Generalreading from file Pin
Rajveer3-Apr-02 3:53
Rajveer3-Apr-02 3:53 
GeneralRe: reading from file Pin
3-Apr-02 4:02
suss3-Apr-02 4:02 
GeneralRe: reading from file Pin
alex.barylski3-Apr-02 4:31
alex.barylski3-Apr-02 4:31 
GeneralRe: reading from file Pin
Shog93-Apr-02 4:59
sitebuilderShog93-Apr-02 4:59 
GeneralRe: reading from file Pin
Ravi Bhavnani3-Apr-02 5:19
professionalRavi Bhavnani3-Apr-02 5:19 
GeneralRetrieving handle to the active MDI child window Pin
AmarB3-Apr-02 3:04
AmarB3-Apr-02 3:04 
GeneralRe: Retrieving handle to the active MDI child window Pin
alex.barylski3-Apr-02 3:26
alex.barylski3-Apr-02 3:26 
GeneralRe: Retrieving handle to the active MDI child window Pin
AmarB3-Apr-02 3:37
AmarB3-Apr-02 3:37 
GeneralRe: Retrieving handle to the active MDI child window Pin
alex.barylski3-Apr-02 3:48
alex.barylski3-Apr-02 3:48 
GeneralRe: Retrieving handle to the active MDI child window Pin
3-Apr-02 3:58
suss3-Apr-02 3:58 
GeneralRe: Retrieving handle to the active MDI child window Pin
3-Apr-02 6:13
suss3-Apr-02 6:13 
GeneralIcons in a Listctrl with owner draw fixed style Pin
Cris3-Apr-02 2:58
Cris3-Apr-02 2:58 
GeneralRe: Icons in a Listctrl with owner draw fixed style Pin
alex.barylski3-Apr-02 3:30
alex.barylski3-Apr-02 3:30 
Generalevents problem.... Pin
Neha3-Apr-02 2:53
Neha3-Apr-02 2:53 

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.