This project is an effort to translate the C headers of the Microsoft Platform SDK for Windows to PowerBASIC™. This version has been updated using the SDK for Windows 7.1.
These headers are freeware, not public domain. This means that you can use them for your own purposes, even in commercial applications, without paying a fee, but not to make derivative works from, sell or redistribute without permission. Also you must assume the entire risk of using them. Downloading the software indicates that you accept these terms.
Because of the use of new data types only available in PNWIN 10+ and PBCC 6+ and other features, they can only be used with the new compilers.
You must also be aware that these headers are not extensions to the ones provided with the compiler, but a full replacement. Therefore, you must not mix them with the PowerBASIC include files in any way, neither directly (via #INCLUDE), nor indirectly (via the include path in the IDE).
Since there are differences with the declares of the include files provided by PowerBASIC™, if you have code that has been written using these includes and you want to compile it without conflicts, add %USEPBDECL = 1 at the top of you application, before any #INCLUDE statements.
Unzip the attached file to a folder of your choice and replace the PB Include path in the PB Ide or the editor that you are using to that folder instead of C:\PBWin10\WinApi.
The wrapper functions for the Common Controls have been placed in the following individual files:
AnimateCtrl.inc (Animation control)
ButtonCtrl.inc (Button control)
ComboBoxCtrl.inc (ComboBox control)
ComboBoxExCtrl.inc (ComboBoxEx control)
DateTimeCtrl.inc (Date Time control)
EditCtrl.inc (Edit control)
HeaderCtrl.inc (Header control)
HotKeyCtrl.inc (Hot Key control)
IPAddressCtrl.inc (IP Address control)
ListBoxCtrl.inc (ListBox control)
ListViewCtrl.inc (ListView control)
MonthCalCtrl.inc (Month Calendar control)
PagerCtrl.inc (Pager control)
ProgressBarCtrl.inc (Progress Bar control)
RebarCtrl.inc (Rebar control)
RichEditCtrl.inc (Rich Edit control)
ScrollBarCtrl.inc (Scroll Bar control)
StaticCtrl.inc (Static control)
StatusbarCtrl.inc (Status Bar control)
SysLinkCtrl.inc (SysLink control)
TabCtrl.inc (Tab control)
TaskDialogCtrl.inc (Task Dialog control)
ToolbarCtrl.inc (Toolbar control)
TrackbarCtrl.inc (Track Bar control)
TreeViewCtrl.inc (TreeView control)
UpDownCtrl.inc (UpDown control)
Note: The above files are automatically included if you use #INCLUDE "Win32Api.inc", instead of #INCLUDE "windows.inc". However, using "windows.inc" and adding only the needed wrapper includes will compile slightly faster because the compiler has to parse less files.
Because I'm being unable to upload the zipped file (I must have reached the size limit), if you want to get it you will have to download it from my forum: http://www.jose.it-berater.org/smffo...p?topic=4833.0
If you are not registered, send me a private email with a valid email address and I will register you.
These headers are freeware, not public domain. This means that you can use them for your own purposes, even in commercial applications, without paying a fee, but not to make derivative works from, sell or redistribute without permission. Also you must assume the entire risk of using them. Downloading the software indicates that you accept these terms.
Because of the use of new data types only available in PNWIN 10+ and PBCC 6+ and other features, they can only be used with the new compilers.
You must also be aware that these headers are not extensions to the ones provided with the compiler, but a full replacement. Therefore, you must not mix them with the PowerBASIC include files in any way, neither directly (via #INCLUDE), nor indirectly (via the include path in the IDE).
Since there are differences with the declares of the include files provided by PowerBASIC™, if you have code that has been written using these includes and you want to compile it without conflicts, add %USEPBDECL = 1 at the top of you application, before any #INCLUDE statements.
Unzip the attached file to a folder of your choice and replace the PB Include path in the PB Ide or the editor that you are using to that folder instead of C:\PBWin10\WinApi.
The wrapper functions for the Common Controls have been placed in the following individual files:
AnimateCtrl.inc (Animation control)
ButtonCtrl.inc (Button control)
ComboBoxCtrl.inc (ComboBox control)
ComboBoxExCtrl.inc (ComboBoxEx control)
DateTimeCtrl.inc (Date Time control)
EditCtrl.inc (Edit control)
HeaderCtrl.inc (Header control)
HotKeyCtrl.inc (Hot Key control)
IPAddressCtrl.inc (IP Address control)
ListBoxCtrl.inc (ListBox control)
ListViewCtrl.inc (ListView control)
MonthCalCtrl.inc (Month Calendar control)
PagerCtrl.inc (Pager control)
ProgressBarCtrl.inc (Progress Bar control)
RebarCtrl.inc (Rebar control)
RichEditCtrl.inc (Rich Edit control)
ScrollBarCtrl.inc (Scroll Bar control)
StaticCtrl.inc (Static control)
StatusbarCtrl.inc (Status Bar control)
SysLinkCtrl.inc (SysLink control)
TabCtrl.inc (Tab control)
TaskDialogCtrl.inc (Task Dialog control)
ToolbarCtrl.inc (Toolbar control)
TrackbarCtrl.inc (Track Bar control)
TreeViewCtrl.inc (TreeView control)
UpDownCtrl.inc (UpDown control)
Note: The above files are automatically included if you use #INCLUDE "Win32Api.inc", instead of #INCLUDE "windows.inc". However, using "windows.inc" and adding only the needed wrapper includes will compile slightly faster because the compiler has to parse less files.
Because I'm being unable to upload the zipped file (I must have reached the size limit), if you want to get it you will have to download it from my forum: http://www.jose.it-berater.org/smffo...p?topic=4833.0
If you are not registered, send me a private email with a valid email address and I will register you.
Comment