Click here to Skip to main content
16,006,535 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionManually refresh single item in the listbox Pin
Sarath C23-May-06 19:24
Sarath C23-May-06 19:24 
AnswerRe: Manually refresh single item in the listbox Pin
Nibu babu thomas23-May-06 19:29
Nibu babu thomas23-May-06 19:29 
GeneralRe: Manually refresh single item in the listbox Pin
Sarath C23-May-06 19:32
Sarath C23-May-06 19:32 
QuestionHighlight the words Pin
VinayCool23-May-06 19:23
VinayCool23-May-06 19:23 
AnswerRe: Highlight the words Pin
Hamid_RT23-May-06 19:28
Hamid_RT23-May-06 19:28 
GeneralRe: Highlight the words Pin
Hamid_RT23-May-06 19:32
Hamid_RT23-May-06 19:32 
GeneralRe: Highlight the words Pin
VinayCool23-May-06 19:35
VinayCool23-May-06 19:35 
AnswerRe: Highlight the words Pin
Laxman Auti23-May-06 20:24
Laxman Auti23-May-06 20:24 
Vinay wrote:
I just want to Highlight the words which are present along with the file name
Data which i have is filename & offsets (200,340,450,700 location of the words)
now i have open the file and i have to Highlight the words its there any way i can complete this task in VC++ ??


You may required hooking of the NOTEPAD.exe Application so that you can explicitly highlight the words from other application.

Because you are using ShellExecute() for opening files where you never get the Handle of the opened file.

Other way is to Use the RichEditCtrl and open the file using CFile or CStdioFile and put the contents into that RichEditCtrl and do whatever you want, as it is in your application scope..Smile | :)

Knock out 't' from can't,
You can if you think you can
Cool | :cool:
GeneralRe: Highlight the words Pin
VinayCool23-May-06 20:38
VinayCool23-May-06 20:38 
AnswerRe: Highlight the words Pin
Laxman Auti23-May-06 20:44
Laxman Auti23-May-06 20:44 
GeneralRe: Highlight the words Pin
VinayCool23-May-06 23:38
VinayCool23-May-06 23:38 
AnswerRe: Highlight the words Pin
Steve Echols23-May-06 20:04
Steve Echols23-May-06 20:04 
Questionwhen does OnDraw Func. gets Called Pin
Anamika200523-May-06 19:19
Anamika200523-May-06 19:19 
AnswerRe: when does OnDraw Func. gets Called Pin
_AnsHUMAN_ 23-May-06 19:23
_AnsHUMAN_ 23-May-06 19:23 
GeneralRe: when does OnDraw Func. gets Called Pin
Steve Echols23-May-06 20:18
Steve Echols23-May-06 20:18 
QuestionFreeing the CObject Pin
pathakr23-May-06 19:14
pathakr23-May-06 19:14 
AnswerRe: Freeing the CObject Pin
Nibu babu thomas23-May-06 19:19
Nibu babu thomas23-May-06 19:19 
GeneralRe: Freeing the CObject Pin
pathakr23-May-06 19:25
pathakr23-May-06 19:25 
GeneralRe: Freeing the CObject Pin
Nibu babu thomas23-May-06 19:27
Nibu babu thomas23-May-06 19:27 
GeneralRe: Freeing the CObject Pin
pathakr23-May-06 19:38
pathakr23-May-06 19:38 
GeneralRe: Freeing the CObject Pin
Nibu babu thomas23-May-06 19:55
Nibu babu thomas23-May-06 19:55 
GeneralRe: Freeing the CObject Pin
pathakr23-May-06 20:30
pathakr23-May-06 20:30 
QuestionNamespace Extensions and Handling F3/CTRL+F by our application Pin
Vasudevan Deepak Kumar23-May-06 19:03
Vasudevan Deepak Kumar23-May-06 19:03 
QuestionGradient RoundRect Pin
HakunaMatada23-May-06 18:56
HakunaMatada23-May-06 18:56 
AnswerRe: Gradient RoundRect Pin
Nibu babu thomas23-May-06 19:04
Nibu babu thomas23-May-06 19:04 

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.