By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,134 Members | 1,742 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,134 IT Pros & Developers. It's quick & easy.

creating text buttons

P: 3
hi to all

recently i have started working with VC++. i'm strugling with concept to make STRING work as button.

How to convert or configure or create text which work as button?
Mar 21 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 5,000
You must first know what pixels your string occupies on a given system, then you can capture mouse click events which should report to you the x and y coordinates of the click, you can then do hit testing to see if that x and y is within the bounding rectangle of your string.
Mar 21 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.