Search:
Type: Posts; User: MattAA
Search:
Search took 0.04 seconds.
-
August 15th, 2003, 11:26 AM
So this means the DWORD casts to a SIZE pointer?
-
August 15th, 2003, 11:05 AM
The MSDN documentation for the GetCharacterPlacement looks like this:
DWORD GetCharacterPlacement(
HDC hdc, // handle to DC
LPCTSTR lpString, // character string
...
-
April 1st, 2003, 05:46 PM
Is your application multithreaded? I have yet to figure out how to implement a CAsyncSocket in any thread but the main one. In other threads, it fails with strange CMapPointerToPointer access...
-
January 20th, 2003, 01:16 AM
When I use ReplaceSel() to insert text into a RichEditView, it scrolls the view down to the bottom of the page. Normally, this is desired behavior, but for my purpose, the user might be looking at...
-
January 18th, 2003, 12:15 AM
I converted a project I was working on to Visual C++.NET, and I noticed something strange when adding classes. The header files, instead of having #ifndef/#define include protection simply have...
-
January 18th, 2003, 12:11 AM
Although it is quite difficult to find everything at first after switching over to VC++ 6, I have found the interface much quicker to use now. You just select your class, go to the properties tab,...
-
January 12th, 2003, 02:51 PM
The C++ part of Borland C++ and Visual C++ is generally the same, as C++ is standardized. However, when it comes to design tools and object libraries, they vary widely. Microsoft's windows object...
-
January 7th, 2003, 02:48 PM
That would make sense, because in the second example you are not flushing the pipeline as much with the jump. However, a potential problem is that this loop will not necessarily work correctly --...
-
January 6th, 2003, 09:42 PM
There are two methods to insert text into a rich edit control, and neither of them are as good as they should be. The first is to use ReplaceSel to insert text at a selection point, and...
-
January 6th, 2003, 06:41 PM
I'm only making a guess here as I avoid void* pointers like the plague, but I would think that since you're trying to delete an object, but the compiler only sees you trying to delete a void pointer,...
-
January 6th, 2003, 06:32 PM
Wow, I'm surprised to see ASP and SQL at the top of the list. Several years ago I did a fairly large project with ASP and SQL, but I never thought they were two of the most desired computer skills. ...
-
January 6th, 2003, 11:49 AM
I have a toolbar control with the style CBRS_SIZE_DYNAMIC and I add toolbar buttons and whatnot, it works fine as long as the text labels are under a certain length. However, once the text labels...
-
December 3rd, 2002, 04:48 PM
I think a few things need to be cleared up about the differences between the Windows API and MFC (along with other object-based windows libraries).
In order to write a Windows application, you...
-
December 1st, 2002, 04:50 PM
I would say JavaScript and VBScript would not be programming languagues because they are not standalone. You can't develop a standalone application with JavaScript or VBScript -- it relies on the...
-
December 1st, 2002, 01:26 PM
I have a list view control where I insert items on the fly. I set the lParam value of each new list item to a pointer to a structure that contains string info about the item, to allow for sorting. ...
-
November 29th, 2002, 11:50 AM
These are type definitions defined in the Windows API:
TCHAR in a normal program just resolves to 'char.' In unicode applications, however, it resolves to 'wchar_t' to provide easy conversion for...
-
November 27th, 2002, 11:01 PM
GetMenu() is derived from CWnd, so if the class you call it from is not a CWnd or derivative, you cannot do a GetMenu() on it. This is logical because only window objects have menus (and typically,...
-
November 27th, 2002, 10:19 PM
When you make a call to EnableMenuItem, its really just a very thin wrapper around ::EnableMenuItem(m_hMenu, nIDEnableItem, nEnable). m_hMenu is a member variable of the CMenu class that contains...
-
November 26th, 2002, 10:53 PM
To use the CHARFORMAT2 structure in a RichEdit 2.0, you must define the following somewhere in your class (I do it in the constructor):
m_charformat.cbSize = sizeof(CHARFORMAT2);...
-
November 26th, 2002, 07:29 PM
Call ::GetKeyState(keycode) to get the state of the ctrl, shift, or alt keys. Ie ::GetKeyState(VK_CONTROL) will return true if Ctrl is being held down and false if it is up.
-
November 26th, 2002, 07:22 PM
In PreCreateWindow:
BOOL CEbolaView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
...
-
November 26th, 2002, 05:03 PM
I've finally located the source of the problem, and its nowhere near OnReceive, it just seems to have a significant problem on the socket for some reason. Its actually in one of my views, where I...
-
November 25th, 2002, 08:07 PM
main is defined as returning an int, by ANSI standard. This alone should encourage you (by you, I mean anyone as a programmer) to use "int main." By setting a void return type in the function...
-
November 24th, 2002, 11:42 PM
Thanks for the advice, its definately a good idea that I need to do in the future. I've isolated what function the error is in, but I can't determine why. There is something that seems to be...
-
November 24th, 2002, 06:58 PM
A few days ago I added a feature to my program, and whenever I ran it in debug mode I received a "User breakpoint at (memory address" and the program crashed. I could get around the crash in release...
|
Click Here to Expand Forum to Full Width
|