Thread: RECT Structure...

  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
    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
    589
    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, 10:52 AM
  5. C structure within structure problem, need help
    By Unregistered in forum C Programming
    Replies: 5
    Last Post: 11-30-2001, 05:48 PM