Primero y principal: ¿Consultaste la MSDN? ¿Depuraste el programa? Y si ... realmente es una busqueda corta para hacer ...
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes MenúCita de: Festor en 29 Diciembre 2009, 00:13 AM¿Alguien me puede explicar eso?
¿Qué sentido tiene que prohiban escribir software para otros sistemas operativos distintos de los de Microsoft si en principio es un software diseñado para funciona unicamente en Windows...? o al menos eso es lo que entendí...
Cita de: Festor en 29 Diciembre 2009, 00:13 AMY lo último... ¿no se puede utilizar para crear software de código abierto en Windows?
Cita de: YST en 28 Diciembre 2009, 23:55 PMPor cierto para fabricar GUI en windows es muy bueno el RADASM
Cita de: ,.-~*´¨¯¨`*·~-.¸..::| D3Bć1 |::.,.-~*´¨¯¨`*·~-.¸ en 27 Diciembre 2009, 21:02 PM
eso es asm? parece C++ xD
O quizas parece mi in-experiencia.
Cita de: MSDNThe GetParent function retrieves a handle to the specified window's parent or owner.
Cita de: jfalcon en 26 Diciembre 2009, 12:43 PMeste foro esta lleno de respuestas sobre ASM pero no hay un enlace que diga que y donde descargar el mejor soft para empezar con esto.
BOOL CALLBACK OwnDrawProc(HWND hDlg, UINT message, WPARAM wParam,
LPARAM lParam)
{
HDC hdcMem;
LPDRAWITEMSTRUCT lpdis;
switch (message)
{
case WM_INITDIALOG:
// hinst, hbm1 and hbm2 are defined globally.
hbm1 = LoadBitmap((HANDLE) hinst, "OwnBit1");
hbm2 = LoadBitmap((HANDLE) hinst, "OwnBit2");
return TRUE;
case WM_DRAWITEM:
lpdis = (LPDRAWITEMSTRUCT) lParam;
hdcMem = CreateCompatibleDC(lpdis->hDC);
if (lpdis->itemState & ODS_SELECTED) // if selected
SelectObject(hdcMem, hbm2);
else
SelectObject(hdcMem, hbm1);
// Destination
StretchBlt(
lpdis->hDC, // destination DC
lpdis->rcItem.left, // x upper left
lpdis->rcItem.top, // y upper left
// The next two lines specify the width and
// height.
lpdis->rcItem.right - lpdis->rcItem.left,
lpdis->rcItem.bottom - lpdis->rcItem.top,
hdcMem, // source device context
0, 0, // x and y upper left
32, // source bitmap width
32, // source bitmap height
SRCCOPY); // raster operation
DeleteDC(hdcMem);
return TRUE;
case WM_COMMAND:
if (wParam == IDOK
|| wParam == IDCANCEL)
{
EndDialog(hDlg, TRUE);
return TRUE;
}
if (HIWORD(wParam) == BN_CLICKED)
{
switch (LOWORD(wParam))
{
case IDC_OWNERDRAW:
// application-defined processing
break;
}
}
break;
case WM_DESTROY:
DeleteObject(hbm1); // delete bitmaps
DeleteObject(hbm2);
break;
}
return FALSE;
UNREFERENCED_PARAMETER(lParam);
}