?
Solved

Changing Title Bar color for active window

Posted on 2003-11-27
1
Medium Priority
?
3,070 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 200 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

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. …
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Suggested Courses
Course of the Month12 days, 6 hours left to enroll

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