It is currently Mon May 20, 2013 9:47 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject:
PostPosted: Fri Aug 17, 2001 6:19 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777210
Restored from previous forum. Originally posted by blueb.

Anyone know 'where' the default constants are located in the PB package?

e.g. #PB_EventCloseWindow
#Ps_Solid

Regards,
blueb


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 19, 2001 4:53 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777210
Restored from previous forum. Originally posted by blueb.

Doesn't anyone know where to find all these 'pre-defined' constants?

I just learned that the Windows API constants need a # in front of them to work with PureBasic
e.g. SM_CXSCREEN (as defined in Win32.hlp) becomes #SM_CXSCREEN in PB.

I guess that seems obvious to anyone who's used the language for a while, but beginners are really struggling to find info. I think there should be a spot (web page at PureBasic?) with all these type of things answered. Either a frequently asked questions (FAQ) page or a series of basic info pages (besides the actual PB Help pages)

Here is an example of some info that I'm looking for at this moment.
1 - where are the pre-defined constants kept?
2 - How can I look through them?
3 - Windows API uses a lot of structures. How can I can I send info to and receive info from a WinAPI structure (such as RECT)?

4 - How can I use standard DLL files in my applications?

etc. etc.

While having some experience with WinAPI helps me, I understand beginners need a place to find answers to these questions.

These forums help a lot, but it is hard to sift through the posts. The should be a better place to place these FAQ

Regards,
blueb


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye