Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to i line up css containers from left to right 35 23
ColdFusion Rereplace 3 80
replace quotes with UTF-8 character 38 98
Form submit issue 11 85
When you work with shopping cart / ecommerce relates web sites, you need to pass the certain form post details to the payment gateway process page with required details for the products items you give to order. Also you may need to track the ordered…
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
The viewer will learn how to count occurrences of each item in an array.
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)

832 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