Search:
Type: Posts; User: TDM
Search:
Search took 0.17 seconds.
-
October 22nd, 2006, 08:14 PM
Number 9.....Number 9...Number 9.....
-
January 30th, 2005, 01:44 PM
....Does Maryland still have a basketball team?
-
October 19th, 2004, 11:59 PM
-
September 25th, 2004, 08:08 AM
Resizing controls can be tricky. The following may be helpful.
Sometimes the GetSystemMetrics function can help. For instance the height of a combo box is the same as the arrows on a scroll bar...
-
September 3rd, 2004, 09:17 PM
The number of bytes in each line in the bitmap must be evenly divisible by 4, if it isn't windows will pad the the line with either 1, 2 or 3 bytes to make it evenly divisible by 4.
In the bitmap...
-
September 3rd, 2004, 08:58 PM
-
August 21st, 2004, 07:04 PM
The limit of hysteresis as the percent cell approaches 100 is zero. :eek:
-
August 4th, 2004, 07:59 PM
Hi,
A better choice might be to pass a pointer to the CStatic rather than declare a whole new CStatic. For example :
CGameConsoleDlg:DoIt(CStatic *X,int SERIAL)
and then to call the...
-
July 16th, 2004, 07:37 PM
One method might be to process the WM_SETCURSOR message (OnSetCursor )if you want to change the cursor according to events in the program:
BOOL CGraphWnd::OnSetCursor(CWnd* pWnd, UINT nHitTest,...
-
July 16th, 2004, 05:15 PM
-
m_RootLine->NextLine=m_SelectedLine->NextLine;
m_SelectedLine->NextLine->PrevLine=m_RootLine;
delete m_SelectedLine;
m_SelectedLine=m_RootLine->NextLine;
m_SelectedSeg=m_SelectedLine->LastSeg;
-
I had a similar problem. I have a progragram where the user can dump the client to a BMP file. But it would capture the file dialog. So what I did was basically do the DoModal for the file dialog...
-
Here are 2 functions that are useful. DumpClient copys the client contents to a member Bitmap and RestoreClient takes the copies the member bitmap (m_ClientBmp) back to the client. The contents of...
-
Since you specified different item's height ,I am guessing you used ownerdraw variable and not owner draw fixed? In the DrawItem function (or other places) you can use SetItemHeight to set the height...
-
....and after looking at the code I see that you have used char Test[25]. So.....
void ConvertTest(char *input)
{
double usDollar=0.0;
double test=atof(input);
printf("test =...
-
Try atof():
double Num=atof(Test[0]);
This assumes that Test is an array of strings (ex. char *Test[10], char **Test or similar).
TDM
-
April 29th, 2004, 05:36 PM
The attachment in this thread might provide some insight.
TDM
-
April 28th, 2004, 09:57 PM
The original post indicated the sum of the bytes and also indicated checksum. I always understood the checksum to be the 2's complement of the sum of the bytes. Therefore the checksum is actually...
-
April 27th, 2004, 05:18 PM
If you have VC.net which uses the "new" CSimpleStringT you can use Tokenize which works like the old strtok. Otherwise you can do it with CString::Find, CString::Mid and a while loop.
TDM
-
April 26th, 2004, 06:06 PM
Yes, Since my original responses in this thread I have investigated different serial ports and different operating systems. The behavior of the DTR line differed with different UARTS and operating...
-
April 25th, 2004, 11:24 PM
Actually, to get the arrow keys you need to process the WM_KEYDOWN message and the WM_GETDLGCODE message. You should be aware that if an edit box has keyboard focus, the any keypresses will be...
-
April 25th, 2004, 07:07 PM
TDM's words of wisdom volume 1:
Always verify that there are plenty of crackers before you start cutting the cheese.
-
April 25th, 2004, 01:40 AM
It is unlikely that you will be able to achieve an accurate 10us pulse from Windows. It would be fairly simple to generate this with a simple hardware setup consisting of a suitable timer and a FET...
-
April 25th, 2004, 01:32 AM
One method might be to greate a button on the dialog. Then after you type the string you want in the edit box, press the button to add the string to the list box. Create a handler for the button...
-
April 23rd, 2004, 01:24 PM
Made you look!
BTW - I prefer definition 2-b.
P.S. I swear I wasn't speeding ossifer.
TDM
|
Click Here to Expand Forum to Full Width
|