|
si_69 wrote: not 'grey' the button but actually remove it
Use HideButton or DeleteButton .
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
I'm not getting hide button function neither in Visual Studio 2003 nor Visual Studio 6
So i think this will work fine.
m_wndToolBar.SendMessage(TB_HIDEBUTTON, nIndex, MAKELPARAM(bEnable, 0));
SaRath
|
|
|
|
|
SaRath C wrote: I'm not getting hide button function neither in Visual Studio 2003 nor Visual Studio 6
So i think this will work fine.
m_wndToolBar.SendMessage(TB_HIDEBUTTON, nIndex, MAKELPARAM(bEnable, 0));
It's a member function of CToolBarCtrl and not of CToolBar .
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
wrote: It's a member function of CToolBarCtrl and not of CToolBar.
No issue it works fine..
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
hi friends,
i want to change the text colour of a static text, when the mouse cursor stays over it.it'll be realy great if someone can help me out in this.
thank you in advance
rajeev
|
|
|
|
|
rajeev82 wrote: i want to change the text colour of a static text, when the mouse cursor stays over it.it'll be realy great if someone can help me out in this.
You can derive the class from CStatic and override the MouseOver and MouseLeave Messages.
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
A_Laxman wrote: You can derive the class from CStatic and override the MouseOver and MouseLeave Messages
Your should register first to get those messages...
Refer TrackMouseEvent and TRACKMOUSEEVENT .
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
A_Laxman wrote: MouseOver and MouseLeave Messages
Please,
could you be more clear on these messages
Cheers,
Russell
-- modified at 5:52 Wednesday 24th May, 2006
|
|
|
|
|
_Russell_ wrote: Please,
could you be more clear on these messages
Here is a small sample article[^]. There is not much explanation but still it's good.
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
I got it!
Thank you;)
Cheers,
Russell
|
|
|
|
|
See here for how CStatic derived class works and sample for same..
Here[^]
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
|
|
Hi
I want to load a text file using web browser on dialog box.Is there any possibility of doing this ? Can you tell me how please?
-- modified at 6:12 Wednesday 24th May, 2006
|
|
|
|
|
RahulOP wrote: I want to load a text file using web broser on dialog box.
What do you mean exactly ??
Cédric Moonen
Software developer
Charting control
|
|
|
|
|
RahulOP wrote: I want to load a text file using web broser on dialog box.
Yeah why not. Are you getting any errors?
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
Nibu thomas wrote: RahulOP wrote:
I want to load a text file using web broser on dialog box.
Yeah why not. Are you getting any errors?
Ok,modified my orginal question. Actually I have no idea how to even go about it. A friend remarked that i should use but that's about all i know.
|
|
|
|
|
RahulOP wrote: Ok,modified my orginal question. Actually I have no idea how to even go about it. A friend remarked that i should use but that's about all i know.
Ok.
You can use CRichEditCtrl or CEdit to show the contents of a text file instead of using a Web browser control for that purpose.
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
oops.I knew i forgot something.I also need to be able to display JPEGs in the same box .I would like to use the Microsoft Web browser Activex
|
|
|
|
|
RahulOP wrote: oops.I knew i forgot something.I also need to be able to display JPEGs in the same box .I would like to use the Microsoft Web browser Activex
Ok!
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
In the following code, I am trying to switch between monitor and printer as the default output device. (The code is executed in a server and the client is a dumb terminal. Hence the server instructs the client to print by switching the output device) I have some binary data(unsigned char) which I can dump into the printer buffer and it will print some meaningful text. If I write this data to a file, then read it and print it (The following code) it works. I dont want to use a file. I want to print it from that buffer in which I have the binary value. I the data is automatically converted to unsigned int or something when its written into file. How do I achieve this?
<br />
int main(int argc, char *argv[])<br />
{<br />
int ch;<br />
FILE *fp;<br />
<br />
fp=fopen(argv[1], "r");
<br />
ansi_printer_on();
<br />
while ((ch=getc(fp))!=EOF)<br />
{<br />
putc(ch,stdout);<br />
}<br />
fclose(fp);<br />
<br />
ansi_printer_off();
<br />
return 0;<br />
}<br />
|
|
|
|
|
how can i transfer each page of documents in microsoft word format to tiff image?
thanks.
jacklin
|
|
|
|
|
Try Canon's new copier series. They can scan to TIFF images.
|
|
|
|
|
sorry! what i mean is to realize this by myself with c++ code
|
|
|
|
|
Print them to a PostScript-File, then use a PS-To-Tiff-Converter.
Or did you really expect me to answer with 50000 lines of conversion code for DOC-files?
|
|
|
|