Programación General > Visual C++

 No Puedo Mover La Ventana

(1/1)

Ethernet:
Hola, tengo esto:


--- Código: Text ---    hwnd = CreateWindowEx (           0,                   /* Extended possibilites for variation */           szClassName,         /* Classname */           "123456",       /* Title Text */           WS_GROUP | WS_SYSMENU, /* default window */           NULL,       /* Windows decides the position */           NULL,       /* where the window ends up on the screen */           544,                 /* The programs width */           375,                 /* and height in pixels */           HWND_DESKTOP,        /* The window is a child-window to desktop */           NULL,                /* No menu */           hThisInstance,       /* Program Instance handler */           NULL                 /* No Window Creation data */           );     /* Make the window visible on the screen */    ShowWindow (hwnd, nFunsterStil);  
Cuando trato de arrastrar la ventana.. no pasa nada.. esta fija.

SteelX:
http://winapi.conclase.net/curso/index.php?cte=WindowStyles

segun esto cuando defines un WS_SYSMENU debes agregar tambien WS_CAPTION.

diego.martinez:
respuesta tonta pero...

...tienes bucle de mensajes?

Navegación

[0] Índice de Mensajes

Ir a la versión completa