|
Thanks for the info !, I will give a try
|
|
|
|
|
Sorry,
One more question, does not have Ms Access a built in type that can hold GUID or UUID ? SQL Server yes isn't ?
thanks
braulio
|
|
|
|
|
It tend to use a text/varchar based field. I've found that is makes it easier for compatability across databases. I can't remember off the top of my head the length but it was something near 40.
Michael
He who knows when he can fight and when he cannot will be victorious - Sun Tzu (The Art of War)
|
|
|
|
|
That is to say that I want to make a software can write some data into CD.
What should I do?
How many information should I collected to prepared to do so.
I want to become programmer!!!
|
|
|
|
|
Take a look at this:
http://cdrdao.sourceforge.net/
|
|
|
|
|
i am using kbbar sample that comes in MSDN and is also available on www.codeproject.com.
It is a sample for making an Custom Internet Explorer toolbar.
In this sample i am trying to create a modeless dialog on the click of a button.
i tried using many a things but was always helpless.
A thing that i found in that problem was
1) a dialog template couldnt be loaded from the resources.
2) AfxGetResourceHandle() always results in a debug assertion failure.
3) AfxGetApp() always returns 0.
i donnno what to do as i am trapped.
plz someone help me out.
Thanx
Farrukh
|
|
|
|
|
I design a class inherit CControlBar, but when I resizing it, it's size is modified continuous. I hope that it will not set size and repaint until the mouse is released.
|
|
|
|
|
It depends on Windows settings. In Windows 2000: Display Properties - Effects - Show window contents while dragging.
|
|
|
|
|
Ok, I want to capture the mouse's release message, when it finished dragging. In fact, I can capture the WM_NCLBUTTONDOWN, but I can't get the WM_NCLBUTTONUP, why?Thanks a lots.
|
|
|
|
|
onmoving()
{
invalidaterect(NULL);
}
I am the mighty keeper of the book on knowledge . Contact me to get your copy .
|
|
|
|
|
Hi all,
Is there a program out there somewhere that is designed specifically for user interface development? I mean something like the dialog editor in visual studio, but as a standalone program. I've seen that it is (sort of) possible with Visio, but I'm looking for something more sophisticated. For example, it would be nice if there would be support for custom controls, with a build-in bitmap editor or so. It would also be nice if it could export to .rc format. Thanks!
|
|
|
|
|
I'm trying to figure out a way to set the cursor's position. I can't seem to find any information about it. It appears to be possible because 3D Studio is capable of doing it*, but how?
* In 3D Studio, when you rotate an object, the cursor can actually go off the screen and appear on the other side, so the user is never limited in how far an object is rotated.
------------------------------------------
"What happened in that Rhode Island club is shocking. To think that over a hundred people would attend a Great White concert." - The Onion
|
|
|
|
|
|
Thanks! I discovered that I couldn't find the function because I'm using VS .NET and I had my filter set to "Visual C++". (Apparently, MS made a mistake by filtering this function when the filter is set to "Visual C++".) I discovered that if I chose "no filter" the function appeared in the help system.
------------------------------------------
"What happened in that Rhode Island club is shocking. To think that over a hundred people would attend a Great White concert." - The Onion
|
|
|
|
|
dear all
i have written a small app which detects windows shutdows or user logoff using WM_QUERYENDSESSION and runs an application say calculator using CreateProcess(..)
the problem is that i'm getting this error =>
"application cannot initialize because windows station is shutting down"
how do i ensure that the calculator runs whenever a user logs off or shuts down the computer.
the code is=>
case WM_QUERYENDSESSION:
{
Run(); //CreateProcess(...) code
if (lParam & ENDSESSION_LOGOFF)
{
MessageBox(hwnd,"User Logging Off..........", "User LogOff Detected", MB_OK|MB_ICONINFORMATION);
}
else
{
MessageBox(hwnd,"System Shutting Down..........", "System ShutDown Detected", MB_OK|MB_ICONINFORMATION);
}
return 1;
}
am i missing something crucial.
thanx
with Regards
|
|
|
|
|
rishabhs wrote:
am i missing something crucial
Not at all. You can not start any applications during the shutdown/logoff process. It's as simple as that.
If you want to simulate this, return 0 to cancel the shutdown (keeping track of what type of shutdown it is), run the application (set a timer or something...), and then initiate the shutdown from software when the application has finished (use ExitWindowsEx() - read the documentation).
Ryan
He who laughs last thinks too slowly.
|
|
|
|
|
thanx a ton 4 ur early reply
but is there any other way to do such a task.
bcoz if i can just know whether it is a logoff event or a system shutdown.
i can't know about a system restart
any clues!!!!!!!!!
regards
|
|
|
|
|
I'm not sure about a system restart. The docs state that the lParam value is a bitmask, and they only mention the ENDSESSION_LOGOFF value, but there may be another bit defined in the system is restarting. You could just run a few tests, by storing the value of this parameter as you try some shutdowns and restarts. Remember that if you return 0, the shutdown or restart won't actually take place, so you won't have to wait for it each time. Other than that, I'm not sure about detecting a restart. Sorry...
Ryan
He who laughs last thinks too slowly.
|
|
|
|
|
Hello,
Any body has idea how to implement MSN like Emoticon list
Regards.
The Phantom is Tracking Bullets
|
|
|
|
|
you can make an owner drawn menu .. or better use a modelless dialog box with picture box controls on it
|
|
|
|
|
I develop an MFC application, a plain simple window (non-doc View). I want to add an edit child control on this parent window. For this purpose i need to call CEdit::Create() in order to place control.
Now, I want to change the behaviour of edit control, for this purpose i derive my own class myedit from CEdit i.e class myedit:public CEdit . Then i add the member variable of myedit , m_myedit in project. Now do i need to call m_myedit.SubclassWindow() before calling m_myedit.Create() ???? Under what cases we need to call SubclassWindow/SubClassDlgItem() ????
|
|
|
|
|
Shah Shehpori wrote:
Now do i need to call m_myedit.SubclassWindow() before calling m_myedit.Create() ?
Nope! MFC takes care of subclassing the control as it is created when you call Create() .
Shah Shehpori wrote:
Under what cases we need to call SubclassWindow/SubClassDlgItem() ?
If the control were already created but did not have an MFC class attached to it, you would then need to sublclass it in order for your custom class to receive messages sent to it.
---
My whole life I've practiced the art of self-sabotage -- fearing success perhaps even more than fearing failure. I think I have got this flareup resolved, but I'm constantly waiting to see what new and exciting ways I can spoil my chances for a better life.
- koreykruse, Compulsive Skin Picking
|
|
|
|
|
be deriving a control when you set the veriable type to the derived type the sublassing is automatic .
on presubclasswindow()
{
//make any modifications before your control is subclassed
}
I am the mighty keeper of the book on knowledge . Contact me to get your copy .
|
|
|
|
|
Hi everybody
I have made a Listbox in which I have populated some string values.I want to read these string values from the list box and then after matching the value to some criteria I want to add the specific matched valued to another Dialog control. How can I do so. Plz provide me with the code if possible. It would be nice of u.
Reply me soon
|
|
|
|
|