RECT Structure...

This is a discussion on RECT Structure... within the C++ Programming forums, part of the General Programming Boards category; Do you know which header file contains the RECT or LPRECT structure? Is not in windows.h...

  1. #1
    Unregistered
    Guest

    RECT Structure...

    Do you know which header file contains the RECT or LPRECT structure?
    Is not in windows.h

  2. #2
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    It's declared in windef.h which should be covered if you include windows.h.

  3. #3
    Registered User InFeStEd-ArCh0n's Avatar
    Join Date
    Apr 2002
    Posts
    63
    Windows.h really doesn't have any code in it, it just includes all the header files that would be necessary in a general Win32 application. RECT should be included in one of the header files that windows.h would include.
    -Mike
    {InFeStEd-ArCh0n}

  4. #4
    Unregistered
    Guest
    Ok, it works But what about LPRECT? I need that instead.

  5. #5
    Registered User
    Join Date
    Feb 2002
    Posts
    591
    LPRECT = Long Pointer to Rect. Declare a pointer to a Rect structure.

  6. #6
    Unregistered
    Guest
    Ahh, i see! Thanks man!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem referencing structure elements by pointer
    By trillianjedi in forum C Programming
    Replies: 19
    Last Post: 06-13-2008, 05:46 PM
  2. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  3. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  4. Serial Communications in C
    By ExDigit in forum Windows Programming
    Replies: 7
    Last Post: 01-09-2002, 09:52 AM
  5. C structure within structure problem, need help
    By Unregistered in forum C Programming
    Replies: 5
    Last Post: 11-30-2001, 04:48 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21