Click here to Skip to main content
15,923,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Current working directory in unix Pin
Ravi Bhavnani26-Jun-05 17:38
professionalRavi Bhavnani26-Jun-05 17:38 
GeneralRe: Current working directory in unix Pin
Weiye Chen26-Jun-05 17:57
Weiye Chen26-Jun-05 17:57 
GeneralRe: Current working directory in unix Pin
Ravi Bhavnani26-Jun-05 18:04
professionalRavi Bhavnani26-Jun-05 18:04 
GeneralRe: Current working directory in unix Pin
Weiye Chen26-Jun-05 18:33
Weiye Chen26-Jun-05 18:33 
GeneralRe: Current working directory in unix Pin
Ravi Bhavnani26-Jun-05 18:39
professionalRavi Bhavnani26-Jun-05 18:39 
GeneralRe: Current working directory in unix Pin
Weiye Chen26-Jun-05 18:46
Weiye Chen26-Jun-05 18:46 
GeneralRe: Current working directory in unix Pin
Ravi Bhavnani26-Jun-05 18:51
professionalRavi Bhavnani26-Jun-05 18:51 
GeneralEM_SETSEL -- Edit Control Messages Pin
c121hains26-Jun-05 16:28
c121hains26-Jun-05 16:28 
I'm creating a plugin for Enterprise Manager's Stored Procedure dialog box to enable it to have "Find Text" capability.

If you've seen this text box that contains the SQL Stored Procedure text, you'll know that it highlights certain key input text. So it's handling is slightly different than your average EditBox or RichTextBox control.

I have found that this "DimensionEdit" object (the name of that text box control class), does NOT respond to any EM_* windows messages (eg. EM_SETSEL). It does, however, respond to general WM_GETTEXT and WM_SETTEXT messages.

The funny thing is, it sort of acts like a RichTextBox control. When i'm in the Enterprise Manager program, I can select text in it and it will be highlighted correctly. BUT i want to be able to highlight text from an external application by passing windows messages.

This "DimensionEdit" object may have its own custom message handling. I've searched everywhere for what this object is and can't find any info on it. A clumsy way to do this would be to set the font of the 'found' text. But that is just a workaround.

So... if you can select the text manually in the program, then why can't i send a message to the control (via external app with SendMessage) to do the same??

Any ideas are GREATLY appreciated!Sigh | :sigh:
GeneralEdit and Rich Edit TEXT BOX Pin
c121hains27-Jun-05 20:32
c121hains27-Jun-05 20:32 
GeneralInitializeCriticalSection and LeaveCriticalSection Pin
yccheok26-Jun-05 15:21
yccheok26-Jun-05 15:21 
GeneralRe: InitializeCriticalSection and LeaveCriticalSection Pin
valikac26-Jun-05 16:38
valikac26-Jun-05 16:38 
GeneralRe: InitializeCriticalSection and LeaveCriticalSection Pin
Jose Lamas Rios26-Jun-05 17:34
Jose Lamas Rios26-Jun-05 17:34 
GeneralRe: InitializeCriticalSection and LeaveCriticalSection Pin
ThatsAlok26-Jun-05 19:06
ThatsAlok26-Jun-05 19:06 
GeneralNamespace extension Pin
Gurra_Koo26-Jun-05 14:45
Gurra_Koo26-Jun-05 14:45 
GeneralHELP: unfamiliar C++ syntax Pin
kevingpo26-Jun-05 14:12
kevingpo26-Jun-05 14:12 
GeneralRe: HELP: unfamiliar C++ syntax Pin
kevingpo26-Jun-05 14:35
kevingpo26-Jun-05 14:35 
GeneralRe: HELP: unfamiliar C++ syntax Pin
Nemanja Trifunovic26-Jun-05 15:08
Nemanja Trifunovic26-Jun-05 15:08 
GeneralRe: HELP: unfamiliar C++ syntax Pin
Nemanja Trifunovic26-Jun-05 15:05
Nemanja Trifunovic26-Jun-05 15:05 
GeneralRe: HELP: unfamiliar C++ syntax Pin
toxcct26-Jun-05 21:01
toxcct26-Jun-05 21:01 
Generalsorry for a non-c++ quwstion: PDF format Pin
includeh1026-Jun-05 12:55
includeh1026-Jun-05 12:55 
GeneralRe: sorry for a non-c++ quwstion: PDF format Pin
Christian Graus26-Jun-05 16:03
protectorChristian Graus26-Jun-05 16:03 
GeneralRe: sorry for a non-c++ quwstion: PDF format Pin
Steve Mayfield26-Jun-05 16:30
Steve Mayfield26-Jun-05 16:30 
GeneralRe: sorry for a non-c++ quwstion: PDF format Pin
Steve Mayfield26-Jun-05 16:18
Steve Mayfield26-Jun-05 16:18 
Generalautocomplete members in class context Pin
bruce2g26-Jun-05 11:44
bruce2g26-Jun-05 11:44 
GeneralRe: autocomplete members in class context Pin
Jörgen Sigvardsson26-Jun-05 11:56
Jörgen Sigvardsson26-Jun-05 11:56 

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.