Attachments are only available to registered users.
Please register using your full, real name.
Quote"Fast food" was a metaphore for the bloated code created by the new programming paradigm.that is why i have written
Quotei understand what your mean.
QuoteAnd being in a new century doesn't mean to throw out the good pratice.Dito!
QuoteBy the way i have removed the offending code from codeprojectYes
QuoteFor the debug text file, i prefer to keep using ANSI to be compatible with my old text editor,
WideCharToMultiByte(CP_ACP, 0, sMessage, -1, buffer, BufferSize - 1, 0, 0);
(but better remake this function to support unicode chars (for example chinese language))
Quote from: Patrice Terrier on April 21, 2017, 12:07:11 PMCan make 11kb...
By the way with only 14Kb, it could be used to debug any unicode 64-bit application...
case WM_GETMINMAXINFO:
MoveMemory(&pMM, (MINMAXINFO*) lParam, sizeof(pMM));
SetRect(&rc, 0, 0, MIN_WIDTH, MIN_HEIGHT);
AdjustWindowRectEx(&rc, dwStyle, FALSE, dwExStyle); // Adjust Window To True Requested Size
pMM.ptMinTrackSize.x = rc.right;
pMM.ptMinTrackSize.y = rc.bottom;
break;
case WM_GETMINMAXINFO:
SetRect(&rc, 0, 0, MIN_WIDTH, MIN_HEIGHT);
AdjustWindowRectEx(&rc, WND_Style, FALSE, WND_ExStyle); // Adjust Window To True Requested Size
((LPMINMAXINFO)lParam)->ptMinTrackSize.x = rc.right;
((LPMINMAXINFO)lParam)->ptMinTrackSize.y = rc.bottom;
break;
Page created in 0.550 seconds with 11 queries.