Hi, you got only one chance left. Contact the Microsoft people.:cool: They should know.:rolleyes: However, there are some updates on the msdn.com site. May be these patches work.
ASchunk
Posts
-
2002 vs 2003 Link Problems -
C++ Library Question.Hi, there is a function called
to_ulong()
defined in thebitset
header file which is the counterfunction toto_string()
which turns a string into a binary value. Hope it helps. Regards. Alex -
I got lines written over by other text in a CEdit controlHi, you told me that you are using the TRANSPARENT mode for displaying your data. The TRANSPARENT mode usually hides a given rectangle around a text in a window. This rectangle would usually require a certain space to be displayed - visible or not - on the screen. So if you don't leave enough space for your characters - that is the height of a character in a certain font and the space for the rectangle - you may overlap the rectangle of one line with another. Note: the rectangle i am speaking of is an abstract rectangle which cannot be physically displayed. You can calculate the necessary number of space for a specific character by using the following code:
TEXTMETRIC tm; int cxChar, cyChar; // width and height of a character cxChar = tm.tmAveCharWidth //the average width of a char cyChar = tm.tmHeight + tm.tmExtarnalLeading
The TEXTMETRIC structure encapsualtes almost all avaiable information of chars. What your code suffers is a lack of external leading that is the space around a character that is needed to display is. For more information on this structure I refer you to the MFC documentation or Charles Petzold's Programming Windows 5th edition. This may look a bit comlicated but in the end its somewhat straightforward:suss: Hope it works Regards. Alex -
getMinMaxInfo useHi, the reason is that the WM_GETMINMAXINFO is usually only avaiable for Windows. The Visual C++ help index says that this handler fills an array with information of the window. However, since dialogs are considered as a window this seems to be corrected. Kindly yours. Alex
-
I got lines written over by other text in a CEdit controlHi, the same phenomenon occurs from time to time in Word. Don't know what causes this problem. Are you using the TRANSPARENT property anywhere in your code??? Regards. Alex
-
Programmers week!Hi, is this your personal working schedule????:):):) Your work must be really hard regarding your weekend plans:zzz::zzz::zzz: Kindly yours Alex
-
Parse a binary numberHi, yes you can split of the TCP address into its compounds and parse the compounds instead. Regards. Alex
-
ThreadsHi, yes threads are part of the Operating system. Windows for example handles threads in a different manner than Unix or Linux does. Windows assigns to each thread a certain amount of time during which this thread can perform its task. If there are multiple threads at one time Windows determines which thread has priority of the others and executes this thread. Linux and Unix handle threads differently. The stl can also handle threads yet it does not have a special class or library that deals with threads. You have to write your own thread managing class or library.