WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
 

How can i make a Dialog that looks Flat ?, What Window Styles should i use ?

cegy
Quote Post


Very Very Active Member
*****

Group: Members
Posts: 81
Member No.: 469
Joined: 29-August 04


In Visual Basic, you can create a flat Dialog by setting the border style to "0 - none".

How can i achieve the same effect in WinAsm? unsure.gif
PMEmail Poster
Top
PhoBos
Quote Post


Extremely Active Member
******

Group: Members
Posts: 273
Member No.: 3
Joined: 12-May 04


Hi,

Set the styles WS_POPUP,and WS_BORDER to your dialog.
CODE

IDD_DLG DIALOGEX 0,0,98,15
FONT 8,"Tahoma"
STYLE 0x90800000
EXSTYLE 0x00000000
BEGIN
END


Yes ?
PMEmail PosterMSN
Top
cegy
Quote Post


Very Very Active Member
*****

Group: Members
Posts: 81
Member No.: 469
Joined: 29-August 04


Sorry, i can't get that to work...

Maybe you could upload a project demonstrating it... biggrin.gif
PMEmail Poster
Top
PhoBos
Quote Post


Extremely Active Member
******

Group: Members
Posts: 273
Member No.: 3
Joined: 12-May 04


Here is a little sample...

Use the left button (+move) to move the window, and [Alt+F4] to exit.

Hope it helps. smile.gif

Edited to add a drop shadow... but only under WinXP... rolleyes.gif

This post has been edited by samael on Aug 22 2007, 11:04 AM

Attached File ( Number of downloads: 42 )
 Login or Register to download
PMEmail PosterMSN
Top
cegy
Quote Post


Very Very Active Member
*****

Group: Members
Posts: 81
Member No.: 469
Joined: 29-August 04


Thank you for the help! biggrin.gif
PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google