Re: Win32 controls
- Posted by Bernie Ryan <bwryan at PCOM.NET> Oct 25, 1999
- 568 views
On Mon, 25 Oct 1999 03:21:15 PDT, stab master <stabmaster_ at HOTMAIL.COM> wrote: >My question isn't very Euphoria-specific (actually it's kinda C-oriented), >but I figured some of you might be able to help anyway. >The problem is as follows: How do I place controls (push-/radiobuttons, >checkboxes, groupboxes etc.) on an applications' main window (NOT on a >dialog window) ? >Are main-window controls possible to create in the resource file or do I >have to create them at run-time ? >Some short sample code would be nice... > Are you using "C" or Euphoria to do the program ? What do you mean by "main-window controls possible to create in the resource file" ? If you are using Euphoria download my W32API20.ZIP file from the Euphoria site It will show you how to use Euphoria to do "C" windows programming be sure you read all the documents and comments. In demo 3 there is an example of using owner-draw buttons. Controls are actually child windows of the parent window. If you set a contol's parent to the main window it will appear on that window. Bernie