Antes, con la fw 14.12 el pintado era correcto. Ahora no.
Paso ejemplo:
Code: Select all
#include "FiveWin.ch"
//----------------------------------------------------------------------------//
function Main()
local oDlg
DEFINE DIALOG oDlg RESOURCE "Main" COLOR "N/B"
REDEFINE BTNBMP ID 500 OF oDlg ;
RESOURCE "TI_ANADIR" ACTION oDlg:End()
ACTIVATE DIALOG oDlg CENTERED
return nil
//----------------------------------------------------------------------------//
Y fichero de recursos:
Code: Select all
// Includes varios
#include "c:\fwh\include\WinApi.ch"
#ifdef __FLAT__
1 24 "c:\fwh\samples\WinXP\WindowsXP.Manifest"
#endif
main DIALOG 2, 15, 486, 249
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "FiveWin Class TBtnBmp"
FONT 8, "MS Sans Serif"
{
// PUSHBUTTON "", 500, 9, 71, 44, 25
CONTROL "", 500, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 9, 71, 44, 25
}
TI_ANADIR BITMAP LOADONCALL MOVEABLE
{
'42 4D E6 0E 00 00 00 00 00 00 36 04 00 00 28 00'
'00 00 48 00 00 00 26 00 00 00 01 00 08 00 00 00'
'00 00 B0 0A 00 00 12 0B 00 00 12 0B 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 40 00 00 00 80 00'
'00 00 FF 00 00 00 00 20 00 00 40 20 00 00 80 20'
'00 00 FF 20 00 00 00 40 00 00 40 40 00 00 80 40'
'00 00 FF 40 00 00 00 60 00 00 40 60 00 00 80 60'
'00 00 FF 60 00 00 00 80 00 00 40 80 00 00 80 80'
'00 00 FF 80 00 00 00 A0 00 00 40 A0 00 00 80 A0'
'00 00 FF A0 00 00 00 C0 00 00 40 C0 00 00 80 C0'
'00 00 FF C0 00 00 00 FF 00 00 40 FF 00 00 80 FF'
'00 00 FF FF 00 00 00 00 20 00 40 00 20 00 80 00'
'20 00 FF 00 20 00 00 20 20 00 40 20 20 00 80 20'
'20 00 FF 20 20 00 00 40 20 00 40 40 20 00 80 40'
'20 00 FF 40 20 00 00 60 20 00 40 60 20 00 80 60'
'20 00 FF 60 20 00 00 80 20 00 40 80 20 00 80 80'
'20 00 FF 80 20 00 00 A0 20 00 40 A0 20 00 80 A0'
'20 00 FF A0 20 00 00 C0 20 00 40 C0 20 00 80 C0'
'20 00 FF C0 20 00 00 FF 20 00 40 FF 20 00 80 FF'
'20 00 FF FF 20 00 00 00 40 00 40 00 40 00 80 00'
'40 00 FF 00 40 00 00 20 40 00 40 20 40 00 80 20'
'40 00 FF 20 40 00 00 40 40 00 40 40 40 00 80 40'
'40 00 FF 40 40 00 00 60 40 00 40 60 40 00 80 60'
'40 00 FF 60 40 00 00 80 40 00 40 80 40 00 80 80'
'40 00 FF 80 40 00 00 A0 40 00 40 A0 40 00 80 A0'
'40 00 FF A0 40 00 00 C0 40 00 40 C0 40 00 80 C0'
'40 00 FF C0 40 00 00 FF 40 00 40 FF 40 00 80 FF'
'40 00 FF FF 40 00 00 00 60 00 40 00 60 00 80 00'
'60 00 FF 00 60 00 00 20 60 00 40 20 60 00 80 20'
'60 00 FF 20 60 00 00 40 60 00 40 40 60 00 80 40'
'60 00 FF 40 60 00 00 60 60 00 40 60 60 00 80 60'
'60 00 FF 60 60 00 00 80 60 00 40 80 60 00 80 80'
'60 00 FF 80 60 00 00 A0 60 00 40 A0 60 00 80 A0'
'60 00 FF A0 60 00 00 C0 60 00 40 C0 60 00 80 C0'
'60 00 FF C0 60 00 00 FF 60 00 40 FF 60 00 80 FF'
'60 00 FF FF 60 00 00 00 80 00 40 00 80 00 80 00'
'80 00 FF 00 80 00 00 20 80 00 40 20 80 00 80 20'
'80 00 FF 20 80 00 00 40 80 00 40 40 80 00 80 40'
'80 00 FF 40 80 00 00 60 80 00 40 60 80 00 80 60'
'80 00 FF 60 80 00 00 80 80 00 40 80 80 00 80 80'
'80 00 FF 80 80 00 00 A0 80 00 40 A0 80 00 80 A0'
'80 00 FF A0 80 00 00 C0 80 00 40 C0 80 00 80 C0'
'80 00 FF C0 80 00 00 FF 80 00 40 FF 80 00 80 FF'
'80 00 FF FF 80 00 00 00 A0 00 40 00 A0 00 80 00'
'A0 00 FF 00 A0 00 00 20 A0 00 40 20 A0 00 80 20'
'A0 00 FF 20 A0 00 00 40 A0 00 40 40 A0 00 80 40'
'A0 00 FF 40 A0 00 00 60 A0 00 40 60 A0 00 80 60'
'A0 00 FF 60 A0 00 00 80 A0 00 40 80 A0 00 80 80'
'A0 00 FF 80 A0 00 00 A0 A0 00 40 A0 A0 00 80 A0'
'A0 00 FF A0 A0 00 00 C0 A0 00 40 C0 A0 00 80 C0'
'A0 00 FF C0 A0 00 00 FF A0 00 40 FF A0 00 80 FF'
'A0 00 FF FF A0 00 00 00 C0 00 40 00 C0 00 80 00'
'C0 00 FF 00 C0 00 00 20 C0 00 40 20 C0 00 80 20'
'C0 00 FF 20 C0 00 00 40 C0 00 40 40 C0 00 80 40'
'C0 00 FF 40 C0 00 00 60 C0 00 40 60 C0 00 80 60'
'C0 00 FF 60 C0 00 00 80 C0 00 40 80 C0 00 80 80'
'C0 00 FF 80 C0 00 00 A0 C0 00 40 A0 C0 00 80 A0'
'C0 00 FF A0 C0 00 00 C0 C0 00 40 C0 C0 00 80 C0'
'C0 00 FF C0 C0 00 00 FF C0 00 40 FF C0 00 80 FF'
'C0 00 FF FF C0 00 00 00 FF 00 40 00 FF 00 80 00'
'FF 00 FF 00 FF 00 00 20 FF 00 40 20 FF 00 80 20'
'FF 00 FF 20 FF 00 00 40 FF 00 40 40 FF 00 80 40'
'FF 00 FF 40 FF 00 00 60 FF 00 40 60 FF 00 80 60'
'FF 00 FF 60 FF 00 00 80 FF 00 40 80 FF 00 80 80'
'FF 00 FF 80 FF 00 00 A0 FF 00 40 A0 FF 00 80 A0'
'FF 00 FF A0 FF 00 00 C0 FF 00 40 C0 FF 00 80 C0'
'FF 00 FF C0 FF 00 00 FF FF 00 40 FF FF 00 80 FF'
'FF 00 FF FF FF 00 FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 92 49 49 45 49'
'45 49 45 45 49 49 45 49 49 45 49 45 45 49 49 49'
'49 49 45 FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 92 DB D6 DB D6 DB DB DB DB DB D6 DB DB'
'D6 DB DB DB DB DB D6 DB DB D6 49 FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 92 DB FF DB FF'
'DB DB FF DB FF DB FF DB FF DB DB FF FB FF DB DA'
'DB DB 49 FF FF FF FF FF FF 00 FF FF FF FF FF 00'
'FF 00 FF FF FF 00 FF FF 00 00 00 00 FF FF 00 00'
'00 00 FF 00 FF 00 FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 92 FF 49 B6 FF 69 49 49 69 49 FF 49 49'
'FF 69 49 49 49 49 FF DB FB DB 49 FF FF FF FF FF'
'FF 00 FF FF FF FF FF 00 FF 00 FF FF FF 00 FF 00'
'FF FF FF 00 FF 00 FF FF FF 00 FF 00 FF 00 FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 92 FF B6 FF FF'
'DB FF FF FF 49 FF 49 FF FF DB FF FF FF 49 FF FF'
'FF DB 45 FF FF FF FF FF FF FF 00 00 00 00 00 FF'
'FF 00 FF FF FF 00 FF 00 FF FF FF 00 FF 00 FF FF'
'FF 00 FF 00 FF 00 FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 92 FF FF FF FF DB DB DB DB 49 FF FF FF'
'FF DB DB DB DB 49 FF FF DB DB 49 FF FF FF FF FF'
'FF FF 00 FF FF FF 00 FF FF 00 FF FF FF 00 FF FF'
'00 00 00 00 FF 00 FF FF FF 00 FF 00 FF 00 FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 92 FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF DB'
'FB DB 45 FF FF FF FF FF FF FF 00 FF FF FF 00 FF'
'FF 00 00 FF FF 00 FF FF FF FF FF 00 FF 00 FF FF'
'FF 00 FF 00 FF 00 FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 92 FF 92 49 FF 69 49 49 69 49 FF 69 DB'
'FF 69 49 49 69 49 FF DB FB DB 49 FF FF FF FF FF'
'FF FF FF 00 FF 00 FF FF FF 00 FF 00 00 FF FF FF'
'00 00 00 FF FF FF 00 00 00 00 FF 00 FF 00 00 FF'
'FF FF FF FF FF FF FF FF FF FF FF 92 FF B6 FF FF'
'DB FF FF FF 49 FF DB 49 FF DB FF FF FF 49 FF FF'
'DB D6 49 FF FF FF FF FF FF FF FF 00 FF 00 FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 92 FF FF FF FF DB DB DB DB 49 FF FF FF'
'FF DB DB DB DB 49 FF FF DB DB 49 FF FF FF FF FF'
'FF FF FF FF 00 FF FF FF FF 00 FF 00 00 FF FF FF'
'FF FF FF FF FF FF FF FF FF 00 FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 92 FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FB DB 45 FF FF FF FF FF FF FF FF FF 00 FF FF FF'
'FF FF 00 00 FF 00 FF FF FF FF FF FF FF FF FF FF'
'FF 00 FF 00 FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 92 FF 49 49 B6 49 49 FF 69 49 49 49 49'
'49 49 49 49 69 49 FF FF FB DB 49 FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 92 FF B6 49 DB'
'FF DB FF DB FF FF FF FF FF FF FF FF FF 49 FF FF'
'DB DB 49 FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 92 FF FF FF FF FF FF FF DB DB DB DB DB'
'DB DB DB DB DB 49 FF FF FF DB 45 FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 92 FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF DB 49 FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 92 FF 49 DB DB 49 92 FF 69 49 49 49 49'
'49 49 49 49 69 49 FF FF FF D7 49 FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 92 FF B6 DB FF'
'FF B6 FF DB FF FF FF FF FF FF FF FF FF 49 FF FF'
'FF DB 49 FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 92 FF FF FF FF FF FF FF DB DB DB DB DB'
'DB DB DB DB DB 49 FF DB FF D6 45 FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 00 FF FF FF FF'
'FF FF 00 00 00 FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 92 FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FA'
'DB DB 49 FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 00 FF FF FF FF FF 00 FF FF FF 00 FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 92 FF 69 DB 49 49 B6 FF 69 49 49 49 49'
'49 49 49 49 49 49 FF DB FB DB 49 FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 00 FF FF FF FF'
'FF FF FF FF FF 00 FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 92 FF DB FF DB'
'FF FF FF DB FF FF FF FF FF FF FF FF FF 49 DB FB'
'DB B6 49 FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 00 FF FF FF FF FF FF FF FF FF 00 FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 92 FF FF FF FF FF FF FF DB DB DB DB DB'
'DB DB DB DB DB 49 FB DB D6 B6 45 FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 00 00 00 00 FF'
'FF 00 FF FF FF 00 FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 92 FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF DB FB DB DB'
'B6 B6 49 FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 00 FF FF FF FF FF 00 00 00 00 FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 92 FF FF FF FF FF FF FF 69 49 49 49 49'
'49 49 49 FF FF DB D6 B6 B2 6D 49 FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 00 FF FF FF FF'
'FF 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 92 FF 49 49 49'
'69 49 FF DB FF FF FF FF FF FF 49 FF 49 21 24 21'
'20 25 21 FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 00 FF FF FF FF FF 00 FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 92 FF 49 FF FF DB FF FF DB DB DB DB DB'
'DB DB 49 FF B6 FF DB DB B6 49 FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 00 00 00 00 00'
'FF 00 00 00 00 00 FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 92 FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF B6 FB DB B6'
'49 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 92 FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF B6 DB B6 49 FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 92 FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF B6 B6 49 FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF 92 FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF B6 49 FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF 92 92 92 92 92'
'92 92 92 92 92 92 92 92 92 92 92 92 92 FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
'FF FF FF FF FF FF'
}