|
Is it possible to automate Outlook Express such that I can create a message with
- a recipient
- a subject
- and an attachment
even if Outlook Express is not the default mail client? I am aware of MAPI but, would love to have something that can work with Outlook Express alone and Outlook alone.
Thanks
|
|
|
|
|
|
hi! thanks for the answer.
i already saw this article and while it does create messages, it doesnt seem to do what i want.
What I need is to create a message with an attachment, then display that message window. That article doesnt seem to handle this but just processes the messages in the OE Store itself. Or am I missing something?
|
|
|
|
|
Hi Does anyone know how i can remove individual items from a toolbar in a SDI app ?
not 'grey' the button but actually remove it
thanks
Si
|
|
|
|
|
si_69 wrote: Hi Does anyone know how i can remove individual items from a toolbar in a SDI app ?
not 'grey' the button but actually remove it
I think you are design the Toolbar and you don't want some button's
Simply drag the buttons from toolbar and drop any where...
hope i think right way...
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
A_LaxmanSimply drag the buttons from toolbar and drop any where...
hope i think right way...
no, i want to do this programmatically, not at design time
depending on how the user access my application, some toolbar items
will not be visible
thanks
|
|
|
|
|
si_69 wrote: o, i want to do this programmatically, not at design time
depending on how the user access my application, some toolbar items
will not be visible
Get the Handle of the button and use
ShowWindow(SW_HIDE);
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
Open the resource editor in your application and select Toolbar entry from the window that is displayed.
From there select IDR_TOOLBAR and open it.
Just click on the button you don't need on the tool bar and drag it to any empty space on the window.
That is all...
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
I remember that some time ago, I needed to do the same for my app.
What I did was retrieving the CToolbarCtrl class (through GetToolbarCtrl[^]) and then disabling the button with EnableButton[^].
I remember there was some issue because the toolbar was not properly refreshed (you had to move it first and then it displayed correctly). I solved this issue but I don't remember exactly how (I think by resizing the toolbar by code).
Cédric Moonen
Software developer
Charting control
|
|
|
|
|
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[^]
|
|
|
|