Can we have nice ClassName instead of Afx:00

Started by Stefan, April 23, 2009, 09:56:15 PM

Previous topic - Next topic

Stefan

Hi Alex,

just an question, can we have nice ClassName instead of Afx:00
That's needed to script HE from out side whit AutoIt and AutoHotkey.

Would be nice to have it's not much work for you.  If it's complicated,.. so well we have to life whit it.


Because you use the MFC your document tab windows have an Afx syntax as ClassName, like

ClassNameNN:   Afx:00400000:20882

The ControlID is for all the same, so can't be used for identifying.

Nice would be an name like tab1, tab2 ...

cu
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Arthur

Can we just read the window caption/title, can't we? This is how sendkeys works in VBScript for example.

alex

Hi Stefan,

changing of the class name is difficult.
Also ClassName is name of window class, not a window title. And window class should be same for all windows to reuse class structures (MFC internal).

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]