Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 1997-05-30
2
Medium Priority
?
487 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 150 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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 …
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
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…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

705 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