Pelles C forum

C language => Beginner questions => Topic started by: KOSMO on May 31, 2022, 04:52:43 AM

Title: DrawText() Questions
Post by: KOSMO on May 31, 2022, 04:52:43 AM
Yes I am very new to this IDE

As far as I can tell, DrawText is defined in winuser.h    But I think it is elsewhere defined in Pelles C. Is this true? where is it defined? How can I open that header file and view it?  Actually, how can I open ANY header file that is defined as e.g. <xyz.h>    as opposed to "xyz.h"   ?

Does Pelles C have a user manual?   Something where I can see a list of functions.. where they are defined etc?
-----------
I am someone that used to use Borland C... decades ago. I'm getting back into it now as a part of amateur radio hobby.
Title: Re: DrawText() Questions
Post by: frankie on May 31, 2022, 01:30:23 PM
Welcome on board!  :)
Yes I am very new to this IDE

As far as I can tell, DrawText is defined in winuser.h    But I think it is elsewhere defined in Pelles C. Is this true? where is it defined? How can I open that header file and view it?  Actually, how can I open ANY header file that is defined as e.g. <xyz.h>    as opposed to "xyz.h"   ?
Simply put the cursor on the line #include <xyz.h> or #include "xyz.h" press the right button on the mouse, a pop-up menu will appear, choose open xyz.h.

Does Pelles C have a user manual?   Something where I can see a list of functions.. where they are defined etc?
-----------
I am someone that used to use Borland C... decades ago. I'm getting back into it now as a part of amateur radio hobby.
PellesC comes with a very complete help file.From IDE menues choose Help->contents.
In the help file you'll find the descriptions of all functions available in C standard libraries and PellesC implementation specific libraries.
The help contains also the manual for all the tools available with the PellesC distribution (pocc, polink, polib, ecc).
The WINAPI functions are specific to the OS, help is available on the MS online documentation. PellesC comes with an almost full set of functions defined in the MS-Win7 SDK.
Title: Re: DrawText() Questions
Post by: KOSMO on June 03, 2022, 02:42:34 AM
 :) Thank you!!