Author Topic: A window with a TRANSPARENT client area  (Read 19270 times)

MichaelW

  • Global Moderator
  • Member
  • *****
  • Posts: 1196
Re: A window with a TRANSPARENT client area
« Reply #15 on: June 02, 2012, 04:24:58 PM »
There is some related information here:

http://www.mvps.org/user32/gditutorial.html

But in the short time I had to experiment with it, I could not make it work.


Well Microsoft, here’s another nice mess you’ve gotten us into.

hfheatherfox07

  • Member
  • ***
  • Posts: 464
Re: A window with a TRANSPARENT client area
« Reply #16 on: June 04, 2012, 08:26:22 AM »
There is some related information here:

http://www.mvps.org/user32/gditutorial.html

But in the short time I had to experiment with it, I could not make it work.

the last example there might work but it is in C too bad that was not in ASM

Originally I wanted this for the window 7 skin that I posted in the old masm form

http://masm32.com/forum_archive/index3df6.html?topic=18823.0

here is an example  that might do it that I got from ragdog
Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.

dedndave

  • Member
  • *****
  • Posts: 8828
  • Still using Abacus 2.0
    • DednDave
Re: A window with a TRANSPARENT client area
« Reply #17 on: June 04, 2012, 11:34:19 AM »
converting C to ASM usually isn't that bad   :P

in C...
Code: [Select]
    hSysMenu = GetSystemMenu( hWnd, FALSE );
    AppendMenu( hSysMenu, MF_SEPARATOR, 0, 0 );

in ASM...
Code: [Select]
        INVOKE  GetSystemMenu,hWnd,FALSE
        mov     hSysMenu,eax
        INVOKE  AppendMenu,hSysMenu,MF_SEPARATOR, 0, 0

hfheatherfox07

  • Member
  • ***
  • Posts: 464
Re: A window with a TRANSPARENT client area
« Reply #18 on: June 04, 2012, 12:49:28 PM »
This is really starting to make me mad ...no email notifications  :(
Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.

dedndave

  • Member
  • *****
  • Posts: 8828
  • Still using Abacus 2.0
    • DednDave
Re: A window with a TRANSPARENT client area
« Reply #19 on: June 04, 2012, 12:55:55 PM »
take a deep breath, Heather   :biggrin:

hfheatherfox07

  • Member
  • ***
  • Posts: 464
Re: A window with a TRANSPARENT client area
« Reply #20 on: June 04, 2012, 01:15:31 PM »
maybe hutch can log in to my account and see what is wrong ...
till than I will try those png examples
Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.