Type: Posts; User: Gerald Bates
Search took 0.02 seconds.
August 23rd, 2015, 04:06 AM
I have decided to study a bit more and write simple window programs without using classes. Many thanks for the advice given, it is appreciated.
August 22nd, 2015, 06:30 AM
I have tested this and it does appear to be working so I am leaving the code as it is. Sorry for the silly questions but I really don't understand much about windows programming.
My next issue...
August 21st, 2015, 04:35 AM
I can't thank you enough, it works fine now. I understand your changes in the message loop and I've been looking up the functions and reading about the return values and remarks, don't understand...
August 20th, 2015, 11:24 AM
All the basic programs I've written are for a console. What I am working on is creating a basic window that appears to be a console. Just one window for the time being with a black background with...
August 20th, 2015, 10:57 AM
Many thanks for the reply, That's cleared up a few things. Most importantly the class name needs to be unique.
August 19th, 2015, 09:20 AM
I am using code blocks to create a basic windows application, and I have some basic questions about the skeleton program that it creates, and it does work all ok.
Firstly, when the window is...
August 19th, 2015, 08:59 AM
I've decided to take a different route with my project, but this has helped a great deal. Many thanks to everyone that replied, appreciated.
July 10th, 2015, 03:16 AM
Many thanks for the replies. I will look into this further before I close.
I tried that but the handle still gets closed?
// Need to change it here so we can't close the handle.
I want to prevent a handle from being closed and at times from being inherited and then closed, but how do you use this API function?
This code is self explanatory.
March 26th, 2015, 04:55 AM
I have read some of the supplement material and have come to the conclusion that some of my functionality should not be members but implemented as non-member non-friend functions. I have two classes...
March 25th, 2015, 11:26 AM
Not sure what this means?
I have changed the left side and within parenthesis where I use vmSize&. I assume you mean in all places.
The issue with returning const was because I was...
March 25th, 2015, 08:33 AM
Many thanks for the reply. I have been working through all these points raised and changing/testing code. I am still trying to implement myVm.setWidth(5).setHeight(5); functionality and have a few...
March 25th, 2015, 04:23 AM
I have just finished adding basic operator overloaded functionality in my vmSize class and need to ask 3 questions.
A. Have I implemented this functionality correctly?
B. Are there any unforseen...
February 17th, 2015, 07:31 AM
Many thanks for your replies. I have indeed taken out the vmString class and used the standard string class instead.
January 13th, 2015, 06:15 AM
Many thanks VictorN and 2kaud for your replies. It does work now.
Well to be honest the reason why I wanted to use my own string class was to see if I could eliminate conversion issues when...
January 13th, 2015, 04:13 AM
I am currently trying to eliminate the use of char * within my project in favour of having my own string class.
I have made notes in the header and source code of the errors. I have several...
December 12th, 2014, 05:49 AM
I have had a design change and now ignore the CTRL signals within my DefaultConsoleHandler(). Instead these messages will be passed into an event queue for the application to deal with. So far all...
December 10th, 2014, 09:53 AM
Looked at your link and I was missing the infinite loop. Now I get a messageBox() displaying what is trapped.
A few seconds later I get a windows XP End program box pop up? Will put these...
December 10th, 2014, 09:16 AM
Victor, I have removed the pointer from signature and also cast the call in order to get this to compile without errors. Only problem now is that the CTRL signals are not being trapped.
December 10th, 2014, 08:34 AM
Still produces errors?
||=== Build: Debug in vmConsole (compiler: GNU GCC Compiler) ===|
December 10th, 2014, 07:10 AM
I tried both of those suggestions before I posted. Because I got errors, I used the :: to see if the previous errors went away. If I use RegisterEventHandler(DefaultConsoleHandler); in the c'tor I...
December 10th, 2014, 06:38 AM
As soon as you replied Victor, I was on the case. I know your right, it needs to be a static class member function. I have changed ONLY the definition within the vmConsoleEvent class to static BOOL...
December 10th, 2014, 04:02 AM
I am having problems compiling code that simply allows me to install a default HandlerRoutine(). I want the user to be able to remove this handler or install their own. I have condensed the issue...
December 4th, 2014, 10:20 AM
Yes, I have learned this the hard way. Spent hours trying to get this to work to no avail. I could not get the console size to get bigger at all, neither could I find a way of detecting the console...
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!