SetWindowRgn tu Button



 DEVELOP > c-Plus-Plus > SetWindowRgn tu Button

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: ""
Date: 06 May 2006 01:23:00 PM
Object: SetWindowRgn tu Button
Hi. I am using VC++ win32 api. Now I am trying to draw a button using
SetWindowRgn function. This function doesn't work on button like to
window, and I have no ideea why. When I call function this way
case: WM_COMMAND
switch(wmId)
case buton1id:
SetWindowRgn(hbutton,rgn,true);
break;
break;,
it means when I click on button, it becomes the form I need, but when I
click second time the button, or drag the window, or press alt+tab, it
doesn't work any more.
Can any one help me? Does any one know where is the problem and how to
fix it?
Thank you
.

User: "Jim Langston"

Title: Re: SetWindowRgn tu Button 06 May 2006 05:16:15 PM
<scurtu19@yahoo.de> wrote in message
news:1146939779.980852.192890@u72g2000cwu.googlegroups.com...

Hi. I am using VC++ win32 api. Now I am trying to draw a button using
SetWindowRgn function. This function doesn't work on button like to
window, and I have no ideea why. When I call function this way
case: WM_COMMAND
switch(wmId)
case buton1id:
SetWindowRgn(hbutton,rgn,true);
break;

break;,
it means when I click on button, it becomes the form I need, but when I
click second time the button, or drag the window, or press alt+tab, it
doesn't work any more.
Can any one help me? Does any one know where is the problem and how to
fix it?
Thank you

Wrong newsgroup. Ask in a group with windows in it's name (such as
microsoft.public.vc.language)
.

User: "Jonathan Mcdougall"

Title: Re: SetWindowRgn tu Button 06 May 2006 02:18:26 PM
wrote:

Hi. I am using VC++ win32 api. Now I am trying to draw a button using
SetWindowRgn function.

http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9
Jonathan
.


  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER