|
|
ctroyp wrote: Does the import/conversion process not update the rendering to the latest styles?
if you need XP style you have to include manifest file in your program!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
So basically, if I do not have a manifest for it I need to create one?
Thanks for the reply...
|
|
|
|
|
ctroyp wrote: basically, if I do not have a manifest for it I need to create one?
yes you have to create one... see the link provided by Sarath
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
I've looked through articles and in the forums but wasn't able to find what I needed. I'm trying to find a way to control the minimum size of the main/parent window so the user can't make it too small for the toolbar. I know there is a way to do it but for the live of me I can't find where to put the code. I created my initial code using MS Visual Studio MFC wizard so I have the standard classes. Any help would be appreciated.
Thanks,
Bubba
Wishin'I was fishin'.
|
|
|
|
|
BubbaGee wrote: Studio MFC wizard so I have the standard classes. Any help would be appreciated.
handle WM_GETMINMAXINFO Notification
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
|
for that you have to handle WM_SIZE too
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Yaa...Need to handle WM_SIZE too
Dream bigger... Do bigger...Expect smaller
aji
|
|
|
|
|
see me wrote: Yaa...Need to handle WM_SIZE too
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
hi all
i want to load images which is in a folder to the list box.
Some one Please help me
Dream bigger... Do bigger...Expect smaller
aji
|
|
|
|
|
You'll need to make sure the listbox has the LBS_OWNERDRAWFIXED style.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I did this by ticking the check box Owner Draw Fixed.
Is there any other method??
OR how can i load the images to list box from a folder that specified by me????
Dream bigger... Do bigger...Expect smaller
aji
|
|
|
|
|
see me wrote: Is there any other method??
You may also need to handle the following messages:
WM_COMPAREITEM (only if the LBS_SORT style was used)
WM_DELETEITEM
WM_DRAWITEM
WM_MEASUREITEM
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
You can use also from CListCtrl i think its better than CListBox
You can see an example for your answer with CListctrl in codeproject "Thumbnail_demo"
|
|
|
|
|
I want to retrieve history of files printed on a machine using VC++/MFC/C/C++. Can any one help me out ? any ideas ?
i want the foll details:
1.Names of all files printed from machine x
2.Date and Time of printed files
3.Errors if any while printing these files
Thanks in advance,
-Mahesh
Mahesh
|
|
|
|
|
Check out the API calls FindFirstPrinterChangeNotification, FindnextPrinterChangeNotification etc.
|
|
|
|
|
Duncan Edwards Jones wrote: Check out the API calls FindFirstPrinterChangeNotification, FindnextPrinterChangeNotification etc.
AFAIK, I believe that is not the right API to accomplish that
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
|
mahesh kumar s wrote: I want to retrieve history of files printed on a machine...
You mean after they have been printed? I am not aware of such information being retained by Windows.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Unless you have the "keep printed documents" checkbox checked.
|
|
|
|
|
On what Print dialog?
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
The "Advanced" tab on the printer settings dialog.
It saves printed documented spool files (*.spl) in the spool directory - I think there are API calls to find out where they are saved.
|
|
|
|
|
Thanks for the info.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hello!
I am newbie in VC++.
I am using VS 2005.While trying to compile a project, which is a non-MFC project, I was getting linking errors about duplicate symbols like...
error LNK2005: "public: class ostream & __thiscall
ostream::operator<<(char const *)" (??6ostream@@QAEAAV0@PBD@Z) already
defined in libcimtd.lib(ostream.obj) )?
but when i changed the 'Project/properties/General/Use of MFC' to 'Use MFC in shared DLL', It gets compiled successfully.
What may the problem? As I am not using any MFC functions in my project. Also I am bulding .exe and not.dll.
thx
|
|
|
|