Solved

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

Posted on 1997-05-30
2
469 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logiā€¦
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

752 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