Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 29th, 2003, 04:16 AM
toughcoder toughcoder is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 49 toughcoder User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 33 sec
Reputation Power: 6
Send a message via Yahoo to toughcoder
Unhappy MouseDown is not responding properly in this control

Greetings every1,
I'm trying to make a custom CheckBox. So far I've been able to successfully draw the checkbox and the checkmark. The problem is, if u closely observe the CheckBox control included in the Windows environment, u will notice that whenever the user presses the mouse on the checkbox(MouseDown event), the checkbox window changes color to the checkbox color(vbButtonFace by default). In my checkbox, when i press the button, the control changes color sometimes and sometimes it does not. I dont know what the problem is and why its behaving like that. I'd like u guyz to take a look at it. Click the checkbox a couple of times. U'll see that occasionally, the check box window remains white and the checkmark appears. Plz help me. The project is included. Thanx in advance
Attached Files
File Type: zip wis checkbox.zip (4.9 KB, 269 views)

Reply With Quote
  #2  
Old December 6th, 2003, 12:12 AM
D·Hack D·Hack is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 8 D·Hack User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I'm a little confused by your post. The "checkbox window" changes color as you stated. Then you said that sometimes the control changes color and sometimes it does not. What exactly do you mean by that?

On my computer, the "checkbox window" always changes to vbButtonFace when I click and changes back when I release the mouse button. The little checkbox with the check in it turns a sort of off-white and changes back also.

How do you want it to behave differently? Or is it just your computer that it's malfunctioning on?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > MouseDown is not responding properly in this control


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT