|
|
|
|
![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 407 Joined: 13-December 04 Member No.: 2,696 |
Post
#1
Apr 13 2005, 07:21 PM
In a C++Builder project I am using a StringGrid component. When the user selects multiple cells using a mouse, logically the StringGrid Object displays the blue selection area. Then, I have painted every all rows so by using the following code: StringGrid1->Canvas->FillRect etc. etc. But this caused a problem. Now the selection area (box) is not visible. And also the content of the cells are not visible. Now I understand that the content is not visible and the canvas object has a function to fill text. So that is not a problem, but when the user selects multiple cells (using the mouse), the selection area remains behind the colored Canvas. What can I do about this? |
![]() ![]() Group: Members
Posts: 26 Joined: 14-May 05 Member No.: 7,033 |
Post
#2
May 14 2005, 11:56 AM
I love messing round with the source code of half-life and make my own little mods to the source code is a lot of fun |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 399 Joined: 14-November 04 From: Elysium Member No.: 2,280 |
Post
#3
May 14 2005, 02:47 PM
@brent: welcome to the C++ forums. That was random, try that again in the Games subforums -specifically half-life. Don't pull one of those again, they're really annoying. @kvarnerexpress: Wow, that's a horrible instance of Win API. I'd say try creating a null variable and try manipulating that in your selection code (which you might want to create instead of allowing Windows to handle it) to focus windows on the cells. |
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
10 | Florisjuh | 6,181 | 23rd August 2004 - 04:03 PM Last post by: Thunder |
|||
![]() |
6 | Trystim | 2,895 | 18th October 2004 - 12:16 AM Last post by: xc3ll |
|||
![]() |
10 | Adam Roach | 1,874 | 5th June 2006 - 06:00 PM Last post by: Bkag |
|||
![]() |
0 | BooZker | 687 | 1st July 2006 - 03:33 PM Last post by: BooZker |
|||
![]() |
73 | Goosestaf | 11,072 | 24th June 2005 - 10:02 PM Last post by: paypal.login |
|||
![]() |
3 | beeseven | 1,892 | 1st March 2005 - 11:10 PM Last post by: beeseven |
|||
![]() |
2 | tripletriangle | 2,130 | 20th March 2005 - 10:45 PM Last post by: unicornrose |
|||
![]() |
12 | -kietekas- | 2,393 | 22nd January 2005 - 02:37 AM Last post by: -clffworld- |
|||
![]() |
1 | -greenDilim- | 2,440 | 13th February 2005 - 03:00 PM Last post by: -God- |
|||
![]() |
4 | soleimanian | 3,276 | 25th June 2007 - 12:08 PM Last post by: dastrophy |
|||
![]() |
3 | Florisjuh | 1,358 | 1st May 2005 - 09:18 AM Last post by: Florisjuh |
|||
![]() |
2 | keego | 2,495 | 11th March 2009 - 12:04 PM Last post by: iG-Author Name - e.g. John, Mike |
|||
![]() |
1 | eskimmer | 2,617 | 17th August 2007 - 08:59 AM Last post by: leiaah |
|||
![]() |
5 | klusk | 1,049 | 30th March 2008 - 07:22 PM Last post by: howardh |
|||
![]() |
10 | Two Gun Charley | 1,800 | 29th September 2009 - 07:06 AM Last post by: iG-theloomis |
|||
|
Open Discussion | Time is now: 8th November 2009 - 02:17 PM |
Web Hosting Powered by ComputingHost.com.