Hi all,
Anyone know how to get service pack 5 for VStudio, in the UK, without downloading hundreds of Mbytes over the net.
(very time consuming and expensive).
There are smaller downloads but they appear not to contain CVC++ info.
Thanks
Barry
Hi all,
I have used a CDib class in the past but on my new PC with Windows ME it causes problems, does anyone know if there is an up to date version or a good alternative, perhaps with the ability to load files other than .bmp?
Thanks
Barry
Hi,
Does anyone know where windows stores it's
font list? I would like to print a sample of each font on my PC, is there a program around that does this already?
Thanks
Barry M
Hi,
I am using CTreeView to list some files and would like the root to have a different image to the rest of the Items. Also I would like the images to change on selection. How do I arrange the CImageList to do this and how do I access bitmaps in it from the insert statement, how do I change...
Hi Pete,
My piece of global code is using the HWND normally passed to WinProc; it uses it to perform a SetWindowLong for a structure.
When I pass the result of AfxGetMainWnd to the code it crashes, am I using the wrong routine to get the HWND?
The application is SDI.
Thanks
Barry
Hi,
In a Win32 application CreatwWindow returns an HWND which can be utilised in the program, in the MFC window creation process this handle is not apparent, how do I access it?
I know I should be using pointers but I am using some Win32 code chunks in the global area.
Thanks
Barry
Hi
I am reading from the COM1 port, data at 4800 baud, and the
mesages are being split into 8 char chunks after the initial message looks OK.
I think that it may be a timing fault, any ideas ?
Thanks
Barry
Hi,
I am trying to utilise the TRACE facility in VC++6.0. I have put TRACE statements in my program but have no output, does it print into the debug area or does it have a separate window or have I not activated it properly??
Barry M
Hi out there,
How do I get a View to perform an OnDraw from a Global Function and what parameter do I need to pass to the Function?
The function will be a Thread when I get it to work!!
Barry M
Hi Pete,
Thanks for the reply, my first efforts were indeed in a Document but I had problems getting the thread class to accept the CommWatch function.
Does this routine have to be global? I would appreciate any pointers as to how the CWinThread functions might be implemented.
Thanks again
Barry
Hi again Pete,
I have tried to do the threads on my own but have failed miserably.
I have taken a standard MFC SDI application and tried to follow the TTY layout, Open Setup etc, inside the MainFrame Class, allowing Documents to access the input. Is this the best way to do it or is there a...
Hi Pete,
I have had a brief look at your code and it looks good. I have done a quick build, sorted out some comment 'errors'(they had somehow lost their // I think!).
I will make my own class for the link info, baud rate etc and give it a whirl!!
Thanks a million
Barry
Hi Pete,
Thanks for the reply, I think that I could handle the thread
activity provided it is in the 'AfxBeginThread category, so I would be very glad to get a copy of your class and any help you can give. I will try the htm file that you have listed and get back to you.
Thanks
Barry
Hi Pete,<br>Thanks for your reply, I would indeed be interested in your Win32 API class. I would like a copy of it whenever it is convenient for you to transfer it, it appears to do everything that I want to do.<br><br>Thanks very much<br><br>Barry<br>
Hi Pete,<br>I am indeed building a terminal application into an MFC project. I am doing this in order to get an insight into how the WIN32 COMM API works with a view to using it to interface to a GPS unit.<br><br>Barry<br>
I am trying to port the TTY sample program to the MFC environment(having given up on the VCTERM sample) and am getting a type cast fault in the CreateThread statement.<br>Has anyone out there tried this port or can throw any light on the fault. I would be happy to send more details of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.