Windows programming

Moderators: None (Apply to moderate this forum)
Number of threads: 3711
Number of posts: 9173

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
I know it's not easy, but... Posted by hatem.taleb on 14 Oct 2005 at 5:42 AM
Hi,
Is there any way to remove the 3D effet around the menu border and make a flat one, without using mfc?

Thank you !!
Report
Re: I know it's not easy, but... Posted by rgentry on 8 Nov 2005 at 4:36 PM
: Hi,
: Is there any way to remove the 3D effet around the menu border and make a flat one, without using mfc? I know it's not an easy task to do, so I am ready to give out $8 to anyone who provide me with a working solution.
:
: Thank you !!
:

If you're talking what I think you're talking about..

Go to your control Panel and go into system.

Under that look for the tab Advanced

You'll be looking for Performance and click on settings.

In that scroll box you see there, scroll down until you find..

Use Visual Styles on windows and buttons

Uncheck that box and apply the settings. If that's not what you were looking for simply check the box agian and click apply. It may take a few seconds between applying it.

Hope this helped..
Report
Re: I know it's not easy, but... Posted by hatem.taleb on 9 Nov 2005 at 12:50 AM
Hi,
Thank you for your response, but it's not what I am looking for.
I want to develop a program using the win32 api library (no MFC) that has a flat menu without a shodow and no 3D effect.
the program must work under windows even the 3d effect you're talking about is enabled.

Thanks againg.
Report
Re: I know it's not easy, but... Posted by Lundin on 9 Nov 2005 at 1:04 AM
: Hi,
: Thank you for your response, but it's not what I am looking for.
: I want to develop a program using the win32 api library (no MFC) that has a flat menu without a shodow and no 3D effect.
: the program must work under windows even the 3d effect you're talking about is enabled.
:
: Thanks againg.
:

Play around a bit with the styles you set when calling CreateWindow.
WS_BORDER, WS_DLGFRAME... try with or without them.
I also think there is a function called AnimateWindow which is used instead of ShowWindow, and can be used to make all kind of weird window effects.
Report
Re: I know it's not easy, but... Posted by hatem.taleb on 9 Nov 2005 at 3:14 AM
-------------
Report
Re: I know it's not easy, but... Posted by AsmGuru62 on 9 Nov 2005 at 6:00 AM
: Believe me, It's not easy as you think about it, I am a software engineer and I know what I am talking about, I even think that it 's impossible to do using only the win32 api library !!
:
Just design the whole menu by yourself - I just did the same - took me 2 days.

No idea, why would you do that - my manager said they need that menu, I agrued, that it is not that beatiful as before.

Of course if it is customized - you can put even color gradients on it!

Report
Re: I know it's not easy, but... Posted by hatem.taleb on 15 Nov 2005 at 11:07 AM
Hi AsmGuru62,
thank you for your response, but it woul be so nice if you let me take a little look at your code ;)
Report
Re: I know it's not easy, but... Posted by Lundin on 15 Nov 2005 at 9:57 AM
: Believe me, It's not easy as you think about it,

WS_BORDER | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX

it works for me...

: I am a software engineer and I know what I am talking about

Believe me, that doesn't mean much. There are so many incompetent engineers around, I've lost count on them. I am one too, so I know what I am talking about

Report
Re: I know it's not easy, but... Posted by hatem.taleb on 15 Nov 2005 at 11:04 AM
Thank you very much Lundin for your compliment,
I feel so happy now :(
Report
Re: I know it's not easy, but... Posted by dede on 15 Nov 2005 at 8:14 PM
Listen Hatem.
Here is a website provides you with the sourcecode you are lookin for.
http://www.Prof-UIS.com
It's using MFC, you say that you are an engineer, maybe you can convert it into API, use your imaginations... Tamam keda ya 3am???
dede

Report
Re: I know it's not easy, but... Posted by hatem.taleb on 16 Nov 2005 at 12:47 AM
Thank you dede, it's really a great site, but I already know that it was possible in MFC beacause they use a different way to display menu.
3ala kolli 7al motachaker aoui 3al mosa3da ;)
Report
Re: I know it's not easy, but... Posted by dede on 17 Nov 2005 at 1:31 PM
How about designing Rectangles, animated ones, contain buttons, I know it'd be difficult but you can use the capabilities of the Layered Windows, am new at API, and can't give you real help.
dede




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.