Solved

Changing Title Bar color for active window

Posted on 2003-11-27
1
3,010 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
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hide carret in RichEdit 4 62
edit html 3 135
git pull --rebase :always complain unstaged files 11 202
Eclipse Neon start with Admin account only 6 119
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. …
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
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 use and create new code templates in NetBeans IDE 8.0 for Windows.

815 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now