|
Great idea.....
Meanwhile, another sendmessage question...
I want to send the progressbar a 1026 which is PBM_SETPOS. I am trying to see if this sendmessage works since my PBM_STEPIT isnt working I think.
SO how do I send the pos in this API sendmessage (unfortunately its from a VB dll). This is what I have to send and I dont know how to find out what the progressbar recognises as its position (wParam or LParam);
How does one get a hold of such info (sendMessage parameters)
Thanks,
|
|
|
|
|
From VC++'s online help, PBM_SETPOS treats wParam as the new position and ignores lParam (which should be zero).
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Sir,
I am developing the code for rotation of the Rectangle and ellipse in my projects.I have seen hat SetWorldTransform() cannot function in 98.So I am searching for alernative method to rotate my rect.I should be able to save the rotated rect in my List containg the CRect objects.I would be thankful to you if I get The solution as soon as possible as it is to be embedded immediately
..............
I have rotated the rect by using XFORM structure and calculated the new values and have drawn the rotated rect using Polygon() function.But I am unable to modify my List rect object with these coordinates as that draws from the TOPLEFT to BOTTOMRIGHT
Sir u can provide any of the solution.
Waiting for ur reply
|
|
|
|
|
|
It sounds like you will simply need to create a new list and a new structure that can hold the four points that you need to store your rectagle. Or you could use your CRect class and the XFORM class, and you could generate the new rectangle on the fly with a conversion function that returns the translated points.
There is not a whole lot of native support for anything in windows that is not axis aligned.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
Hi
I want to use DirectSound with different file formats.
For Instance I need to play AIFF AIFC formats and some other.
I would appreciate any information regarding my question as well as samples of C++ code for conversions from AIFF AIFC to WAV files
Thank you
Klim
|
|
|
|
|
Hi !
I'm looking for a custom control to provide a "variable watch" like control.
You can find such controls in every environments such as Visual C++ ...
It allows you to display the name and the value of variable selected by the user :
myVariable1 ....................... 0x12485
myVariable2 ....................... 48725
myVariable3 ....................... 1001100
myVariable4 ....................... 0x20 0x42
Does anyone knows where to fing such a control ???
Thanks,
Vince
|
|
|
|
|
THis sounds like the watch window (alt+3 in debug mode)
Roger Allen
Sonork 100.10016
I think I need a new quote, I am on the prowl, so look out for a soft cute furry looking animal, which is really a Hippo in disguise. Its probably me.
|
|
|
|
|
Sure !!!
What i'm looking for is not where to find the watch window of Vc++ !!!
I'm looking for a class witch wrap functions of a watch window in order to be integrated in my own application (something like a Cwnd derivated class...)
|
|
|
|
|
|
Is there any Date Time pickers that would allow you to modify both data and time within the same cell?
|
|
|
|
|
|
I have
p.CreateDispatch("DllwithForm.Class1");
p.CheckingPB(hPbWnd,0,100000);
where CheckingPB is triggering repeated messages to be sent to a control. If I uncomment the release dispatch , I am concerned that it will release the dispatch before all my messages have been sent and received. Is this a fact? Since the app isnt working anyways I cant check it out, but wondered if its disastrous if that line is commented out...
Thanks,
ns
|
|
|
|
|
Help people, my head is spinning.....
I have an application that reads images back from a database into a directory. I need to 'touch' the file time stamp to match the database. The date field to retrieved as a COLEDATETIME and I need to convert this to a FILETIME in order to call the win32 SetFileTime() function.
Anyone any idea's how to perform this conversion (I'm sure is really obvious and the constructor for COLEDATATIME lets you do it the other way around!) --- Anyone any clues?
|
|
|
|
|
Use COleDateTime::GetAsSystemTime, then ::SystemTimeToFileTime.
Tomasz Sowinski -- http://www.shooltz.com
*** Vodka. Connecting people. ***
|
|
|
|
|
That works a treat!
Many Thanks.
Kevin.
|
|
|
|
|
I want to add an entry to the registry that all
users on the machine inherits. Is this possible?
|
|
|
|
|
|
hello,
Is it possible to have CreateDIBSection to allocate the bitmap in system memory rather than in video memory (without DDraw) ?
|
|
|
|
|
CreateDIBSection allocates bitmap data in 'system' memory, not in video memory.
Tomasz Sowinski -- http://www.shooltz.com
*** Vodka. Connecting people. ***
|
|
|
|
|
The fourth parameter of CreateDIBSection (VOID **ppvBits) gives me values over 0x80000000, is it still system memory ?
|
|
|
|
|
|
It's just because I make memory access and they seem to be slow.
Never mind, I'll do more tests.
Thanks.
|
|
|
|
|
We delete an array of char this way:
delete[] str;<br />
str=NULL
But, if the string is created like str=_T("test"); or #define str _T("test") , trying to delete it results in an exception.
Now, my question is this: how can I figure out if the string is deletable or not? (must be a const prob)
I know I should strcpy those strings before use, but lazy me...
[VISUAL STUDIO 6.0] [MFC] [WIN98/2]
|
|
|
|
|
There's no portable way of determining if object is on the heap or not. Switch to std::string or CString and forget about it.
Tomasz Sowinski -- http://www.shooltz.com
*** Vodka. Connecting people. ***
|
|
|
|