Solved

Changing Title Bar color for active window

Posted on 2003-11-27
1
2,989 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
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.

706 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

18 Experts available now in Live!

Get 1:1 Help Now