Click here to Skip to main content
15,891,423 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to make a static box movable in MFC.? Pin
mbatra317-Sep-12 2:03
mbatra317-Sep-12 2:03 
GeneralRe: how to make a static box movable in MFC.? Pin
mbatra317-Sep-12 2:07
mbatra317-Sep-12 2:07 
GeneralRe: how to make a static box movable in MFC.? Pin
Chris Losinger7-Sep-12 2:18
professionalChris Losinger7-Sep-12 2:18 
GeneralRe: how to make a static box movable in MFC.? Pin
mbatra317-Sep-12 2:23
mbatra317-Sep-12 2:23 
GeneralRe: how to make a static box movable in MFC.? Pin
Chris Losinger7-Sep-12 2:31
professionalChris Losinger7-Sep-12 2:31 
GeneralRe: how to make a static box movable in MFC.? Pin
mbatra317-Sep-12 2:37
mbatra317-Sep-12 2:37 
GeneralRe: how to make a static box movable in MFC.? Pin
Chris Losinger7-Sep-12 3:10
professionalChris Losinger7-Sep-12 3:10 
GeneralRe: how to make a static box movable in MFC.? Pin
mbatra3110-Sep-12 23:14
mbatra3110-Sep-12 23:14 
Hi Chris,

I have one requirement. I want to draw text on an image. I have seen one software, in that on clicking a button, it will display a text field box, where user types the text, that text will be parallely drawn on the image. And also user can move that box in whcih text is being drawn.

I want to do the same in MFC dialog based app. I was able to move the static/edit box, but I want the user should be able to move the control by holding the mouse on it.

Any idea about this. I will be thankful for your reply.


Regards,
mbatra
GeneralRe: how to make a static box movable in MFC.? Pin
Chris Losinger11-Sep-12 0:57
professionalChris Losinger11-Sep-12 0:57 
GeneralRe: how to make a static box movable in MFC.? Pin
mbatra3111-Sep-12 1:35
mbatra3111-Sep-12 1:35 
QuestionWhy not display the image in the PICTUREBOX Pin
yu-jian5-Sep-12 21:05
yu-jian5-Sep-12 21:05 
AnswerRe: Why not display the image in the PICTUREBOX Pin
Richard MacCutchan5-Sep-12 23:17
mveRichard MacCutchan5-Sep-12 23:17 
GeneralRe: Why not display the image in the PICTUREBOX Pin
yu-jian6-Sep-12 5:18
yu-jian6-Sep-12 5:18 
GeneralRe: Why not display the image in the PICTUREBOX Pin
Richard MacCutchan6-Sep-12 5:59
mveRichard MacCutchan6-Sep-12 5:59 
GeneralRe: Why not display the image in the PICTUREBOX Pin
yu-jian6-Sep-12 15:18
yu-jian6-Sep-12 15:18 
AnswerRe: Why not display the image in the PICTUREBOX Pin
Alan Balkany6-Sep-12 5:04
Alan Balkany6-Sep-12 5:04 
GeneralRe: Why not display the image in the PICTUREBOX Pin
yu-jian6-Sep-12 5:22
yu-jian6-Sep-12 5:22 
QuestionDisable smooth scrolling for CRichEditCtrl Pin
Gernot Frisch4-Sep-12 22:41
Gernot Frisch4-Sep-12 22:41 
QuestionRe: Disable smooth scrolling for CRichEditCtrl Pin
Richard MacCutchan4-Sep-12 23:53
mveRichard MacCutchan4-Sep-12 23:53 
AnswerRe: Disable smooth scrolling for CRichEditCtrl Pin
Gernot Frisch5-Sep-12 0:25
Gernot Frisch5-Sep-12 0:25 
GeneralRe: Disable smooth scrolling for CRichEditCtrl Pin
Richard MacCutchan5-Sep-12 2:29
mveRichard MacCutchan5-Sep-12 2:29 
Questionhow to identify the drive type? Pin
VCProgrammer4-Sep-12 19:21
VCProgrammer4-Sep-12 19:21 
AnswerRe: how to identify the drive type? Pin
Richard MacCutchan4-Sep-12 22:08
mveRichard MacCutchan4-Sep-12 22:08 
GeneralRe: how to identify the drive type? Pin
VCProgrammer4-Sep-12 22:15
VCProgrammer4-Sep-12 22:15 
GeneralRe: how to identify the drive type? Pin
Richard MacCutchan4-Sep-12 23:00
mveRichard MacCutchan4-Sep-12 23:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.