|
You may want to look into handling WM_MEASUREITEM . See this[^] article.
/ravi
|
|
|
|
|
In my application,I have access modeless property sheet from dll. In this, propertypage's "pretranslatemessage" not called.
Ex:
Exe <============ Dll
(Application) (Propertysheet and pages)
thanks in advance.
Sakthivel
|
|
|
|
|
Is there a specific question you wish to ask?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Yes, David.
I need to access the "pretranslatemessage", in modeless propertysheet, so for any setting or else to do.
Thanks,
Sakthivel
|
|
|
|
|
So what's the problem? Is your ClassWizard broken?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
My propertysheet has 5 pages, each page has it's own pretranslatemessage. but page pretranslatemessage not work and "tap key" not work(for switch the control).?
so how to access pretranslatemessage.?
|
|
|
|
|
If you are using MFC, is each dialog's BEGIN_MESSAGE_MAP() correct?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I'm trying for automatic documentation in MS powerpoint.I'm using MS wrapper classes associated with "msppt9.h".I've inserted pictures.Now using shape.AddTable,I've inserted table with 14 rows and 4 cols.I can't reduce the size of the table.I can't insert text in the table also.
Please help me.
|
|
|
|
|
i'd suggest you attacked the problem from the scripting side of Powerpoint
i.e. write powerpoint scripts inside powerpoint to do what you want first.
bryce
|
|
|
|
|
How I can write?Any link is there for start?
|
|
|
|
|
Hello, I want to write an ISAPI extension dll using MFC (in Visual Studio 2005). every book I read, said we should create an MFC ISAPI Server extension project from File->New menu. but my Visual studio has not this template. what should I do?
please help.
|
|
|
|
|
Ali Tavakol wrote: but my Visual studio
And what version is that?
led mike
|
|
|
|
|
|
hi i used GetAdaptersInfo to get the adapters information. the problem is i cant get the LAN adapter correctly. for wireless the adapter description will be "wireless network" but for LAN i cant get the local area correctly. how to get this information
Arise Awake Stop Not Till ur Goal is Reached.
|
|
|
|
|
deeps_cute wrote: i cant get the LAN adapter correctly
What do you get? What information do you expect to get?
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
You may want to look into using WMI to get more information about installed adapters.
The Win32_NetworkAdapter class is a good keyword to search on
Here's an article: Getting the network adaptor MAC address with WMI[^]
Mark
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
how to get the netconnection id. i need to get all the adapters id
Arise Awake Stop Not Till ur Goal is Reached.
|
|
|
|
|
It's the NetConnectionID member of the Win32_NetworkAdapter WMI class.
Mark
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
Hi,
I made an app with an ok and cancel button in visual studio c++ 2005, but they are blocky (old look). How can I enable the XP look and feel so these buttons look nice? My computer is running XP.
Thanks,
Max
|
|
|
|
|
Probably the easiest way is to open the stdafx.h file and near the bottom, you'll find an
#ifdef _UNICODE
...
...
#endif
Remove the #ifdef and #endif lines (leave the others). This will enable the manifest which will give you the new look.
Hope that helps.
Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
|
|
|
|
|
I am trying to make use of the Containers::SortedList class for storing objects of my own class type and using an unsigned int type as the key.
I can add objects of my class each with a key value to the list no problem. However, I only seem to be able to obtain list values by using SortedList::GetByIndex . When I attempt the default[i] indexer or methods such as SortedList::IndexOfKey and SortedList::ContainsKey I get the following exception:
"An unhandled exception of type 'System.InvalidOperationException' occurred in mscorlib.dll
Additional information: Failed to compare two elements in the array."
I have no comparison method for my own class type but as the SortedList is sorted by the key value then I believe this should not matter.
Knowing that I have entered a key of 1 in the list, calling the following code results in the above exception occurring.
if(mObjectList->ContainsKey(1))
{
....
}
If anyone has any ideas that would be great.
|
|
|
|
|
I don't get it[^]
led mike
|
|
|
|
|
I want to show images in each subitem in List view of style report. I am able to show the image at the beginning of the subitem by SetImag API, but I want to place the image at the end. The image should be after the text. How can I do that?
|
|
|
|
|
See the documentation for the OWNER_DRAW style. Also there will be samples and examples on MSDN and probably here on CodeProject as well.
led mike
|
|
|
|
|
I have more than 500 controls and for each of them i need to display tool tip, for this I have stored the tool tip data(min, max values) for every control in string table, now how do I display that stored data as tool tip dynamically?
-- modified at 10:58 Monday 26th March, 2007
|
|
|
|