News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Fasm Question

Started by remus2k, January 04, 2011, 03:03:57 AM

Previous topic - Next topic

dedndave

we don't quite have enough information to answer correctly
the way the fasm code is written, certain parms are in registers
the code you have looks like it should work, however we can't say that the colors will be what the function was passed - lol

you can toss out the brackets, though
and the lea isn't needed
        invoke  SelectObject,hdc,hFont2
        invoke  SetTextColor,hdc,0D000h
        invoke  GetClientRect,hDlg,addr Rect
        invoke  SetBkColor,hdc,0