|
It all started here[^].
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
Thanks a lot for the reply, I just see your past reply but I will see if somebody can give me a solution for don't use another dialog (with progressbar).
|
|
|
|
|
Hello,
I am trying to resize a GetOpenFilename dialog box, so that it appears larger than standard, so you can see more files in the dialog.
I have succesfully hooked for notifications with OFN_HookProc.
I can execute code on WM_InitDialog.
I have tried using the SetWindowPos function, but specifying a new size for the dialog box leaves all the controls in the same place and makes the window bigger, in order to add more controls to the form.
But what I want to do is stretch the dialog, just as the user would do by grabbing the corner of the windows. I don't want to add more controls, I want to make the control on the existing forms resize too.
Any idea how I do this ?
Thanks for any help.
Steve
|
|
|
|
|
IMHO you have to reposition the controls by code.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Hi ,
i tried one sample program from Code Projet , I resized the CFileDialog size in File Save dilog , the same size will appear for remaing dialog ,
i want the default size back ..
plz help
hh
|
|
|
|
|
Sorry, I lost my magic stick. So, today will you point out the article with a link?
|
|
|
|
|
look at the bottom of the article you're refering. see that forum ? look good no ? yeah, it's the place to ask questions related to the article
|
|
|
|
|
fioskarthi wrote: ...the same size will appear for remaing dialog ,
In just that application, or for all of Windows?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
hi,
Pls go thru the following idea.
I have a jpeg image, and I have the details of my machine as text(Machine config, softwares installed etc.). I want to merge these two into a single jpeg file that contains the text written over the picture.
Then I want to set this image as the desktop background.
Pls give ur suggestions to implement the same in Win32 coding.
All inputs are appreciated.
Thanks in advance.
SYAMLAL
|
|
|
|
|
To set the desktop background from your code you can use IActiveDesktop::SetWallpaper().
As far as writing text over JPEG is considered you will have to wait for someone here to respond.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Thanks a lot for this info
SYAMLAL
|
|
|
|
|
See here.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
hi,
I just tried to compile the demo projest in my machine, But it says:
"'SPI_GETDESKWALLPAPER' : undeclared identifier"
What could be the error?
Pls tell me the equivalent numeric value if u knows it.
SYAMLAL
|
|
|
|
|
SyamlalS wrote: I just tried to compile the demo projest in my machine, But it says:
"'SPI_GETDESKWALLPAPER' : undeclared identifier"
What compiler? What OS? What changes did you make?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I am using Visual Studio 6.0 and my OS is Windows XP, Service pack 2.
And I didn't make any changes to ur code.
SYAMLAL
|
|
|
|
|
Are you using the latest Platform SDK for VS6?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
It seems not the latest SDK.
Pls let me know how can I check it?
SYAMLAL
|
|
|
|
|
SyamlalS wrote: Pls let me know how can I check it?
Use the Add/Remove Programs applet in Control Panel.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
|
WhiteSky wrote: See Introduction to COM - What It Is and How to Use It [^]
Exactly how is COM going to solve the OP's problem (i.e., setting image as the desktop background)?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I remember some times ago a member of code project wanted to use of IActiveDesktop but he gots an error when he wanted to use it I guess maybe SyamlalS will get this error of course I know this link is about introduction to COM but Mike on that article use of IActiveDesktop and I guess if SyamlalS gets error about use of IActiveDesktop he can refers to this article
|
|
|
|
|
Hi,
I want to check in my VC++ code if a file is blocked. Normally when exe files are transferred over email, they will be blocked.If you go to the property of the file, you will see "Security: This file came from another computer and might be blocked to help protect this computer" and there will be a button to unblock it. I have to programmatically check this case. Is there any API or function that could help me get this information.
Thanks in advance.
Ranjan
|
|
|
|
|
Hi,
i am new to vc++6 and dont know how to connect a datbase to my gui using vc++6.
can any one respond to this asap.
also kindly tell the best sites and ebooks for vc++6.
grc
|
|
|
|
|
Did you look out for CDatabase class. A CDatabase object represents a connection to a data source, and allows you to operate on the data source
Best sites: MSDN Site, CodeProject ...
Best Books:This really depends upon what do you want to read. WIN32,MFC,COM,ATL etc.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Dear,
For my project, I want to write a program that receives audio signals from the USB port and simultaneously plays the audio.
In which topics should I search for help in order to write a program that generates and plays audio data simultaneously?
|
|
|
|