How about surrounding the call with: if(pWnd->GetDlgCtrlID() == IDC_EDIT1) or switch the results out. BD
"You know "that look" women get when they want sex? Me neither." --Steve Martin
How about surrounding the call with: if(pWnd->GetDlgCtrlID() == IDC_EDIT1) or switch the results out. BD
"You know "that look" women get when they want sex? Me neither." --Steve Martin
Why not just use char rate[256] // or whatever size you need BD
"You know "that look" women get when they want sex? Me neither." --Steve Martin
CRect rect; GetDlgItem(IDC_CONTROLNAME)->GetWindowRect(&rect); ScreenToClient(&rect); You should then be able to take the values of rect.
"You know "that look" women get when they want sex? Me neither." --Steve Martin
You could place a shortcut to the file in the Startup folder on the start menu, or better still, create an entry in the RUN section in your registry key path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run This will work on whoever logs into the machine assuming they have access rights to the file that you want to run.
"You know "that look" women get when they want sex? Me neither." --Steve Martin
This should help you: http://www.codeproject.com/file/directorychangewatcher.asp[^] Regards BD
"You know "that look" women get when they want sex? Me neither." --Steve Martin
GetModuleFileName should do the trick for you "You know "that look" women get when they want sex? Me neither." --Steve Martin
Automation would be the best. Check out the examples in MSDN. msdn.microsoft.com[^]
Use your WM_SIZE method and look at MoveWindow to resize the control based on the size of the Window you are in. You may want to capture the size of your dialog at the start of your program so you can compare the sizes. BD
TCHAR szBuffer[MAX_PATH];
GetWindowsDirectory(szBuffer, MAX_PATH);
CString strSQL; strSQL.Format("select * from table where %d = ?", intvalue); This should be enough. BD
Likewise... :-D:cool:
Using it work. Just fitted a new rack with new servers and they are all using Gigabit cards with Cat 5e cabling. They are then running via fibre hub connecting the rest of the server racks. :cool:
Quite simple really... UDP is like fire and forget, meaning that you do not need acknowledgement of the packet getting to its destination i.e. video streaming. TCP/IP needs to have acknowledgements meaning you are guaranteed delivery. I do not know of any tutorials, this was from my Cisco courses. BD
I find the whole experience a nightmare.... it chews RAM up like I have never seen. I am bugging my systems manager to let me go back to Windows 2000.
second go.. my quickest is 57 secs. Windows 2000 makes it too easy as right click dumps the cards onto the card piles. BD