Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Changing Title Bar color for active window

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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

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…
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 and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses

597 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