Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > WINDOWS PROGRAMMING (NNTP) > GETTEXT from a AfxWnd42s control
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 11th July 15:20
multimarine69
External User
 
Posts: 1
Default GETTEXT from a AfxWnd42s control


I need the text from a AfxWnd42s control and GETTEXT doesn't work.
Any ideas?
  Reply With Quote


  sponsored links


2 11th July 15:20
kellie fitton
External User
 
Posts: 1
Default GETTEXT from a AfxWnd42s control


Hi,

You should use the window message WM_GETTEXT to retrieve text from
an edit control, the AfxWnd42s classes indicates that the window is
not an edit control, and the text is painted by the GUI application.

That said, you might wanna retrieve the painted image and perhaps use
someThing like optical character recognition function, it might not be
a practical solution, though.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowmessages/wm_gettext.asp

Hope these information helps,

Kellie.
  Reply With Quote
3 11th July 15:20
multimarine69
External User
 
Posts: 1
Default GETTEXT from a AfxWnd42s control


Ok... thanks for the help.
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666