Solved

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

Posted on 1997-05-30
2
444 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
2 Comments
 
LVL 1

Accepted Solution

by:
deesse earned 50 total points
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
The viewer will learn how to count occurrences of each item in an array.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now