News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

how to access WNDCLASSEX.cbClsExtra and cbWndExtra?

Started by xandaz, November 04, 2020, 07:45:31 PM

Previous topic - Next topic

nidud

#15
deleted

hutch--

JJ,

    rcall SetWindowLong,hButn,0,hBmpU
    rcall SetWindowLong,hButn,4,hBmpD

Part of a custom control.

      .case WM_LBUTTONDOWN
        mov F@l@a@g@, 1
        mov hBmpD,  rvcall(GetWindowLong,hWin,4)
        mov hImage, rvcall(GetWindowLong,hWin,8)
        rcall SendMessage,hImage,STM_SETIMAGE,IMAGE_BITMAP,hBmpD
        rcall SetCapture,hWin

xandaz


xandaz

    There's dimming in thye mdichildren. Why is that? I used WS_CLIPCHILDREN and WS_CLIPSIBLINGS