Click here to Skip to main content
12,065,606 members (49,104 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C++
I have a new dialog.

I want to make like this dialog in image but I can not.

Please help me!

Thanks so much

NEW DIALOG

Mirror
Posted 27-Apr-11 8:05am
Edited 27-Apr-11 8:51am
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

look into GDI regions and the Win API SetWindowRgn, search examples using this function.
  Permalink  
Comments
Nishant Sivakumar 27-Apr-11 15:33pm
   
Voted 5.
SAKryukov 27-Apr-11 23:22pm
   
Correct, a 5.
--SA
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Chris has already given you the API to do it. Here's a very good article on the topic by Joe Newcomer:

http://www.flounder.com/setwindowrgn.htm[^]
  Permalink  
v2
Comments
SAKryukov 27-Apr-11 23:23pm
   
Can be useful, a 5.
--SA
Nishant Sivakumar 28-Apr-11 8:04am
   
Thanks SA!
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

Hello!

Your problem can be solved easily.
You can use SetWindowRgn() function to customize your window as you please.

Please see here.
A picture based skin system and MPEG decoder[^]

then you will be clear for that problem.
Regards
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160207.1 | Last Updated 27 Apr 2011
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100