Solved

Changing Title Bar color for active window

Posted on 2003-11-27
1
3,053 Views
Last Modified: 2013-12-26
How to change the Active Window - Title Bar color for the childe window In an MDI Application in PowerBuilder ? Presently the color is Grey for all the child window title bar and i want to change it to blue. the WindowType property is set as Child.
0
Comment
Question by:mayuri25
[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
1 Comment
 
LVL 8

Accepted Solution

by:
Vikas_Dixit earned 50 total points
ID: 9835533
Child window are not considered as active windows... So their Title bar will have color of the Inactive title bars..

Pls try this :

unsigned long l_ulHandle

l_ulHandle = Handle(w_child)
lb_result =SetForegroundWindow(l_ulHandle) //External Function boolean SetForegroundWindow(ulong hWnd) library "user32.dll"

regards,
Vikas D
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand column That will then direct you to their download page. From that p…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

729 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