Solved

BC++ 4.52, OWL 2.5, Dialog boxes & win32

Posted on 1997-05-30
2
479 Views
Last Modified: 2013-12-26
I'm currently getting to know OWL programming. As I just started doing so,  I have a little question concerning the real Windows '95 look in the Resource Workshop opposite to the look you get when you run the application. I'm using a TDialog for my About window. I'm just getting that white area over and over again. Also, my beautiful static box around my text will be transformed to 'just a frame' when running the application. I've seen this with a lot of win32 targetted applications, but not with the IDE itself. Is there any known method to change this ? (I've used TApplication::EnableCtl3d() already...)
0
Comment
Question by:BSoeters
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
deesse earned 50 total points
ID: 1299230
First of it, you shoul have this line in your code

void MyApp::InitMainWindow ()
{
    .
    .
    .
    // Windows 3-D controls.
    EnableCtl3d(true);
}

then when you edit you're about box in the resource Workshop
DoubleClick on the caption bar of the about box, select in the combobox Class, this item "BorDlg_Gray", then you should not see anymore these white area.
0
 
LVL 1

Author Comment

by:BSoeters
ID: 1299231
Thanks for answering ! This works already!
But, is there any way to get the REAL Windows '95 look without using BorDlg_Gray as class ?
Or does one have to have the new BC++ 5 then ?

Also, the black frame (instead of the sunken one due to white and black lines on a gray background) still remains, is there any way to correct this ?

Further, I thought that there was a way to specify the background color of a window, is there ?
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question