|
Do not add the constructor, replace it...
|
|
|
|
|
Thank you. It works.
Eilzabeth
|
|
|
|
|
Cool... I started to doubt! By the way, your sig has a spelling mistake...
|
|
|
|
|
Got it fixed. Just realized that I need to update my profile.
Elizabeth
|
|
|
|
|
Is it possible to force a particular font size eg. 96 dpi (regardless of what the user has in their windows settings) for an application. I have some dialogs which are hardcoded to a specific size and users with larger fonts don't have a correct display. I am using Win32.
|
|
|
|
|
In general, no. The desktop font size is a system-wide parameter. You are better off designing your dialogs to work correctly with the 'large fonts' setting (the simplest solution) or adding code to have the dialogs automatically resize/reposition their controls (complicated, but the only way to guarantee similar proportions regardless of the desktop setting).
Software Zen: delete this;
|
|
|
|
|
Hi,
I'm Massimo an Italian webmaster wiht a free host service.
My server is Win2000 Server with IIS 5.0 and
I would want to insert in every sub-domains of my network one banner of publicity....
I have found the function:
IIS Manager --> Select site --> Properties --> [Document tab] --> Enable document footer
that it inserts the html document in evry page of selece site..
It would be necessary to me a easy isapi filter that it inserted the html document in header of evry page of the select site...
Can you help me, please ?
Bye
Massimo
Webmaster veniceflashing.net; venicehost.it
|
|
|
|
|
How can I add to the right click menu of the IE my application?
I successed to do it with an htm file but not to an exe app. like the option with the Excel.
|
|
|
|
|
Which context menu are you interested in adding to?
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
For instance, I want to send the URL of an image to my application.
I found that I can enter a key with my application path to the registry: HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt and there to add DWORD value 'Contexts' with the context I need( to image I think is 22), I successed to send it to a htm file but not to win32 app.
|
|
|
|
|
Hi, I've created a unicode application, that should display (in a static control) some international text of unknown origin (any language).
I understand that I have to choose a font for my control, and I was wondering what font I should select. I've heard Arial Unicode MS is pretty good, but it's still very much behind the latest Unicode standard (which is 4.0). Do you know which font is the best and most comprehensive unicode-font out there to date? Do you have any links to such fonts? I've tried looking up fonts on the web, and I can't seem to find anything reasonable - only some no-namers that I don't really want to use for a commercial application...
/=/=/=/=
Deus
/=/=/=/=
|
|
|
|
|
I use Microsoft Sans Serif if that's of any help!
|
|
|
|
|
Unfortunately, it's not covering most of the Unicode standard. It only represents 1403 characters. The Unicode standard, as it is todays, holds tens of thousands of characters.
/=/=/=/=
Deus
/=/=/=/=
|
|
|
|
|
Is possible to create a toolbar or dialogue bar with having icons justificated on both left and right? I is want to have differents sets of icons and am wanting to separates them by putting on left or on the right.
Thanks with muchly
|
|
|
|
|
When you want to justify to the right you need to use the Indent function
CToolbarCtrl::SetIndent
Best Regards
Carlos Antollini.
Pi Five[^]Creator
|
|
|
|
|
Is interest. I will checking out.
You are very thankful for my being helped.
|
|
|
|
|
I have now created an application that utilises the createpipe() function,
based on the response that I got yesterday. The application that I am trying to control only uses function keys(F2,F3, etc..), it does not accept text commands. I have tried using Virtual Key Codes (VK_F2, VK_ENTER, etc,..), however this does not seem to have any effect on the application that I am trying to control. Again, does anybody have any ideas?
Thanks again in advance.
|
|
|
|
|
Have you looked at the SendInput API in Win32?
|
|
|
|
|
I am trying to create an application that will take an ascii text file when dropped onto its Icon.
The application needs to be able to open this file for reading and then create a new ascii text file for writing.
Can anyone help.
Kind regards in advance.
|
|
|
|
|
Check out CodeProject code section.
http://www.codeproject.com/file/cppfilesdragdrop.asp
Kuphryn
|
|
|
|
|
|
Hi, I'm writing an international application, and therefore, I need to display dates and times using the user-locale. When I go to: Control Panel->Regional Settings->Regional Options tab->customize->Date tab, I see TWO date formats: SHORT and LONG.
Now, I write the following lines in my code:
COleDateTime date;
date.SetDate(2003,10,23);
CString s = date.Format((DWORD)VAR_DATEVALUEONLY); // format the date only
When I display 's', the contents of 's' are the SHORT version of the date, as it is configured in the dialog mentioned above.
My question is : how does COleDateTime know to choose the SHORT version and not the LONG version? Is it configurable through code? The reason I'm asking, is that later on I need to use the same string in order to populate another COleDateTime object, using the COleDateTime::ParseDateTime method, and I have to be sure that the method will work. As far as my tests went, ParseDateTime FAILED when given a LONG date string, so I have to be absolutely sure that COleDateTime::Format will ALWAYS use the SHORT date. And if possible, issue some command to ensure this.
Any ideas? Thanks.
/=/=/=/=
Deus
/=/=/=/=
|
|
|
|
|
It might have something to do with the VT_DATE type being used by COleDateTime .
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
Can you please explain what you mean? As far as I know, the VT_DATE is the only date-related variant type... it's not like there's a VT_LONGDATE or something like that... how do I know that VT_DATE is associated with the short date-time version?
/=/=/=/=
Deus
/=/=/=/=
|
|
|
|
|
Why don't you use COleDateTime::Format(_T("%m/%d/%Y")); ?
|
|
|
|