I am using a CDockablePane Derived class to show a shell tree control. I enabled docking in the left side of mainframe window. I want to limit its horizontal size, so that part of list view area should always be visible. I tried to use CalcFixedLayout() after its creation in mainframe, but nothing happened. Can you tell me how to use it exactly.
Thanks for the reply but I have tried this without success. I have opened the RC file and selected the dialog resource I want and seleted copy. The problem is that it wont let me paste it into the resorces of my other project - the paste option is disabled
If you open the second RC file in the resource editor, can you drag/drop resources into the resource view of the current solution? That worked in VC 6, although I give no guarantee that the feature has survived into the current VS design.
Yes, that's how I used to do it in VC6 but it doesnt appear to work in MSDEV 2008. I have found using MSDEV 2008 frustrating, some things are done differently and other things you just can't do. In trying to be all things to all languages, it's lost some of it's great features and is soooo slow.
Thanks anyway, I guess I will just have to create the dialog again from scratch.
[please excuse this re-post - ther were no answers in general it until now!]
I'm on a tool that has to connect to many different mailboxes in a organization. All works well. (Extended Mapi)
I'm using therefore a profile to create a session.
But every mailbox that will be programmatically connected also increases the size of that profile.
The connection data of every connection is persisted in the profile. Frown
In result the process slows down with every mailbox.
Does anyone know an opportunity to make a profile "readonly" - say with a MAPI_DONT_CHANGE_PROFILE during MAPIInitialize?
Or is there a way to connect to Mailboxes using Extended Mapi without using a profile?
How do I the work :
> MAPIInitialize with MAPI_INIT_VERSION / MAPI_NT_SERVICE
> MAPILogonEx with MAPI_LOGON_UI | MAPI_NEW_SESSION | MAPI_EXTENDED | MAPI_NO_MAIL
> OpenMsgStore for private store
> createStoreEntryID & OpenMsgStore for each mailbox
> and of course storeLogoff for each mailbox after the work
please excuse my worst english (I'Am german)
thx in advance &
Write the function replace, which finds the string from in the string string and replaces it with the string to. Be sure to test it on replacement strings, which are larger, smaller, and the same size.Should it work if the replacement string is the empty string?
It is better to do your homework assignments as they are given and to use the computer lab of your college or university. Paying attention in class and listening to the tutors, lab assistants, is also quite helpful. If you aren't willing to do this, perhaps it would be best to try something else for a while until you mature.