|
jalsa G wrote: I want to use dialog as mainwindow child
Why don't you use a CFormView [^] instead?
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.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
hi
I want to create a dialog whose upper left cornor is rounded and right lower cornor is Rounded and other Cornor is Rectangle . I do not want to create this with the help of Image(bitmap) .
So pls help me and I am very thank fulto you if you provide any link or application Example .
Thanks in advance.
dabara
|
|
|
|
|
What about using CP 's article search engine [^]?
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.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
i already Search in Codeproject But I can not get any useful artical which is fullfil my Requirment . So i write on the forum.
dabara
|
|
|
|
|
pls check which type of Dialog Cornor I want .
http://www.codeguru.com/forum/showthread.php?p=1746588#post1746588
dabara
|
|
|
|
|
Dabara wrote: which type of Dialog Cornor I want .
http://www.codeguru.com/forum/showthread.php?p=1746588#post1746588
You don't have to use a bitmap. Paint the background of the
window however you want to.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
How to update the remote machine registry ?
I am having a server and i want to configure the client by updating or modifying before starting up the application in client.
I know the IPaddr and host name of the client.
|
|
|
|
|
From MSDN:
"The RegConnectRegistry function establishes a connection to a predefined registry handle on another computer. "
|
|
|
|
|
Hi all..
I am trying to connect to sharepoint....
I have made a dll and calling that dll through command line exe...
when i run my exe in server computer its working fine..
But if i run the exe from different computer i.e client computer it is not working...whether i have to make any environment changes...if yes...please help me..
thank you
manju
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
Hi
I have a ListBox( CListCtrl) with vertical scroll bar
I painted Gradient blue color on the CListCtrl View
in ON_WM_ERASEBKGND() handler
Now the problem is when i scroll the list ... the gradient color goes for toss and looks patchy
I attached the image in code guru ( i donno how to attach in here)
http://www.codeguru.com/forum/showthread.php?p=1746548#post1746548[^]
I am manifesting windows common controls 6
Is there any solution
Any body has got any idea?
Please help me out
Thanx a lot
|
|
|
|
|
Try to Erase Back Ground while moving the vertical scrollbar.
I mean to say on mouse move while handeling the vertical scrool bar erase the Back Ground as earlier.
|
|
|
|
|
thanx for the reply
i will try that but
one more update
no mater wether its ListCtrl view r normal dialog box
same issue happnd when i scroll ...... gradient color gets Discarded
now scroll bar is not part of the dialog
but i am moving up and down when i scroll the scroll bar
|
|
|
|
|
I want to implement a recorder just like the windows recorder,however, what I want is only the sound strength but not the wav file recorded. How could I do?
|
|
|
|
|
As you're capturing audio samples, you can iterate through
blocks of samples to find the peak amplitude. You could use
a progress bar to show the level or draw it some other way.
I personally use a variable that the audio capture thread updates as
samples are captured. A periodic timer (on the UI thread) takes care
of rendering the level.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi Experts,
How can I do the following programatically :
1. Open Recycle Bin
2. Empty Recycle Bin
3. Open Disk Cleaner Wizard
4. Open Disk Management
5. Open Fileserver Management
|
|
|
|
|
|
with some mouse clicks. (left and right button clicks)
This signature was proudly tested on animals.
|
|
|
|
|
I was walking through "Window's in a Box"(sic) with a debugger (OllyDbg) the other week and noticed that all of the commands were viewable with very little effort. It's a VB program, but even still, it gives hints as to which .msc file you need to open.
4. Open Disk Management
ShellExecute(NULL, "open", "explorer.exe", "c:\\windows\\system32\\diskmgmt.msc", NULL, SW_SHOWNORMAL);
It'd be better if the drive letter and system dir weren't hardcoded, but you can't simply substitute c:\\windows\\ with %windir% unfortunately.
|
|
|
|
|
enhzflep wrote: It'd be better if the drive letter and system dir weren't hardcoded...
Actually they are not even necessary since the \Windows\System32 folder is part of the search path.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
DavidCrow wrote: Actually they are not even necessary since the \Windows\System32 folder is part of the search path.
Yeah, that's what I figured, except removing the absolute path from the code I already had wouldn't work. Just now it dawned on me - why bother to use explorer.exe to open up something that will run from the command line?
So, I just tried this code & found it do do the job:
ShellExecute(NULL, "open", "diskmgmt.msc", NULL, NULL, SW_SHOWNORMAL);
It also has the addd benefit of doing away with the "File download - Security Warning" dialog box that appears when using the code I presented in a previous post.
Much thanks David.
|
|
|
|
|
Hi!
When I run a VC++ 8.0 application, I got an error which states,
"The procedure entry point ??0?$basic_istream@DU?$char_traits@D@std@@QAE@PAV?$basic_streambuf@DU?$char_traits@D@std@@@1@_N@Z could not be located in the dynamic link library MSVCP80.dll."
What might be the cause of this error? How do I resolve this error?
|
|
|
|
|
Do you get this error on the development machine? If not, have you got the VC Redistributables installed on the target machine?
|
|
|
|
|
Hi!
Not on the Development machine. But I've installed the VC Redistributables on my machine.
|
|
|
|
|
I suspect the CRT version your program uses is different from that is available on the target machine. If you've installed the redist, then I don't see why this should happen.
OK, see this link: The next level of DLL hell - SxS[^]
|
|
|
|
|
Could u please tell me how to find out which version of the CRT my program is using?
|
|
|
|