TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: David Van Hoose
from: Herbert Rosenau
date: 1998-12-08 18:35:08
subject: PM application

Hi David,

 you wrote at 04.12.98  14:57 to All :
 

 DVH> Can someone send me an example of how to make a PM window with a
 DVH> child
 DVH> window in it?? I can't seem to get it right..
 DVH> Any example which follows this will be nice.

   ulCtlData = FCF_STANDARD;

   hwndMainFrame = WinCreateStdWindow(HWND_DESKTOP, WS_VISIBLE,
                                      (PVOID)&ulCtlData, (PSZ)szAppName,
                                      (PSZ)NULL, WS_VISIBLE,
                                      (HMODULE)NULL, IDR_MAIN,
                                      (PHWND)&hwndMain);

   hwndPage =
   WinCreateWindow(               /* parent-window handle                    */
      hwndMain,                   /* pointer to registered class name        */
      WC_STATIC,                  /* pointer to window text                  */
      "#6",                       /* window style                
           */
      WS_VISIBLE | SS_BITMAP,     /* horizontal position of window           */
      0,                          /* vertical position of window             */
      0,                          /* window width                            */
      0,                          /* window height                           */
      0,                          /* owner-window handle                     */
      NULLHANDLE,                 /* handle to sibling window                */
      HWND_TOP,                   /* window identifier                       */
      0,                          /* pointer to buffer                       */
      NULL,                       /* pointer to structure with pres. params. */
      NULL);

   if (!hwndPage)
     return FALSE;



Tschau/Bye

Herbert


--- Sqed/32 1.14/development  135:
* Origin: Kalorien schmecken einfach besser als Vitamine ! (2:2476/493)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 635/444 506 728 639/252 670/218
@PATH: 2476/493 480 2410/200 2432/200 2433/1200 225 270/101 396/1 633/260
@PATH: 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.