I have a function that uses DrawText(.....) to output a text display in my window. However, when I resize/minimize/move the window (in other words when WM_PAINT is called) the text is erased. How...
Type: Posts; User: rakan
I have a function that uses DrawText(.....) to output a text display in my window. However, when I resize/minimize/move the window (in other words when WM_PAINT is called) the text is erased. How...
Hi there,
I am trying to make line numbers on the left margin of my rich edit control. I have yet to find a solution to the particular problems I have with line numbering but I'm very close. So...
Hi there,
I am trying to disble the Ctrl-V key function for a rich edit control. I set the ENM_KEYEVENTS event mask filter and I handle my WM_NOTIFY message as follows...
case WM_NOTIFY:
...
I've never used usenet before. How do I use this service? Do I need a specific client or something? Is this a pay service?
Also this site...
http://msdn2.microsoft.com/en-us/library/ms969905.aspx
I just solved a flickering problem similar to this. All I did was add WS_CLIPCHILDREN to the windows style. There is also this website I found with other tips on how to reduce flickering...
...
Is there any way to add a spin control to a rich edit control or an edit control using winapi? Do I add this as a window? Thanks.
That seems to work but it causes a few other issues with my window, I think I can find a work around though. I found some other materials related to this, they seem to blame common controls a lot. ...
Hi there,
I noticed that when I add a status bar to my applications that they flicker excessivily when I resize them. Has anyone else noticed this? I have made a rich edit control window using...
That works, thanks for your help.
Hi there,
I found the properties menu you described and clicked on the Linker option. I added the path to ComCtl32.Lib in the "Addition Libraries Directories" field (which was C:\Program...
Hi there,
I am making a status bar for a win32 application and I've run into some problems. I recently started using VC++ Express Edition 2008 and when I compile my program I get this error...
Thanks Cactus_Hugger
I do know about global and local scope (sry to sound like a complete C++ newb), I wasn't sure if it was good form to declare my handles as global variables since I am...
I am learning Windows API programming and I have a question about creating a child window. I would like to set it so that I can right click on the parent window and have the child window popup. How...
Hey guys,
I am trying to learn Windows programming. I found theForgers tutorial and I had a question about it. It says that in the resources.h header file you have to assign an integer to each...
I have a question about quadratic probing. I am trying to make a open address hashing table.
I have a hashing function but I'm having difficulty resolving collisions. My code is this so far...
...
Thx indigo0086, I just implemented something similar to that right now. I think that's the best flag I can use while dealing with array of pointers to objects.
I am making an array of pointers to objects. I initialize the array by setting every pointer to NULL to indicate that the array element points to no object (and has always pointed to no object). ...
Thanks Prelude,
I did modify the code from it's original form. I simply posted it like that because it was simpler. Thank you for the suggestions, they've given me some new ideas.:)
Sweet! Just what I needed. Thanks Mario F.!
Ah! Is the general structure of the string class posted anywhere? I would like to familiarize myself with it's member functions/data members (I'm still kind of new to this).
So the string is a class that has a member function named str?
Hi guys,
I am trying to make a hashing function that will accept a string and output an integer. On this forum I found this code (made by Salem) which adds up the ASCII values of the letters.
...
Hi there guys,
I am interested in learning networking programming in windows environment. I found, in the sticky, this book. I was wondering if any of you could recommend a book that deals...
Prelude,
I assign objects to the array by doing
array[variable] = new OBJECT;
Anyway, I found the problem. It was related to something I hadn't posted. In my problem I would declare the...