Search:
Type: Posts; User: robbiegregg
Search:
Search took 0.03 seconds.
-
Hi all (and thanks for opening what probably sounds like a really boring subject!)
I am trying to incorporate some form of copy protection into a FORTRAN program. I have decided to get the...
-
January 25th, 2010, 09:43 AM
Hi all
I have a general question as to how I should implement the following in Visual C++ (v6):
I would like to read in a whole bunch of data from a file and save to memory so I can then...
-
November 16th, 2009, 05:38 PM
Hi
Thanks very much for the reply. I don't think I can use the CImage class since I am using VC++6.0 Is there a way to write to a JPG file using VC6?
Thanks
-
November 16th, 2009, 03:10 PM
Hi all
I am wanting to write a collection of GDI+ objects (rectangles, lines etc) and save the resulting diagram to a graphics file (JPG or PNG). I can easily draw what I want to screen by doing...
-
I managed to incorporate Combo Boxes in a MFC Grid Control (as written by Chris Maunder) (v2.25).
Here's the relevant code I used:
#include "GridCtrl_src/GridCtrl.h"
#include...
-
Thanks VladimirF
I've taken your advice and re-wrote the code as shown below:
void CNucPlot::SaveFile()
{
CPaintDC dc(this); // device context for painting
// Set pictures size;
-
Hi, I've edited my original post with the
tags. I've also added the line myDC.SetBkColor(RGB(255,255,255)); but the JPEG image created is still black!
Any other ideas anyone?
Thanks
-
Hi all
I've been trying all day to sort this out so I was hoping someone could help!!
Basically, I am trying to write the contents of a CDC to a JPEG file and I am trying to use libjpeg.lib. ...
-
January 20th, 2009, 04:03 AM
Hi
I would like to be able to encrypt a double precision number and then save it to a binary file. Does anyone know whether or not it is secure to encrypt individual numbers? I'm guessing it is...
-
November 29th, 2008, 09:11 AM
Hi
Thanks very much for the reply. Eventually I tried a different approach whereby I have written a simple function which determines what the base and exponent. That way when I write the...
-
November 29th, 2008, 09:02 AM
Hi all
I am writing a simple Windows MFC program which generates an input file for a program which we have installed under Linux. At the moment, when I try to run the program under Linux on this...
-
November 23rd, 2008, 11:36 AM
Hi all
I am trying to write a bunch of exponential numbers to a file. I can easily change the overall size using setw(x) and setprecision(x) to set the precision. However what I want to do is...
-
July 30th, 2008, 04:25 PM
Although the current solution works quite adequately, I can see potential issues with it under certain cicrumstances.
I would like to do what you say but would not know where to start with the...
-
July 30th, 2008, 02:05 AM
Thanks John_E
I have done what you suggested and the code works well now. For completeness (just in case anyone else had the same question as me), here is the function I wrote to communicate with...
-
July 29th, 2008, 11:51 AM
Hi thanks for your reply. However I would like a bit more adivce please.
After reading the post, I have added another message to the stdafx.h file:
#define WM_PROGRESS_BAR (WM_USER+2)
In...
-
July 29th, 2008, 02:04 AM
Hi all,
I have set up a user interface thread which I call from my main dialog. The user interface thread I invoke starts a lengthy calculation which can take many minutes / hours to complete. ...
-
June 26th, 2007, 12:42 PM
Cheers Philip, I will try that tonight.
-
June 26th, 2007, 11:37 AM
Hi
I have been searching for a solution for this for ages but could not find anything:
I have a binary file which I want to open and modify a value. However when I use something like:
...
-
June 25th, 2007, 03:59 AM
Hi
I have been searching for ages for a solution but can't find anything:
I have a project which I have been working on for a while and now wish to change the name of the project. I know that...
-
March 4th, 2007, 04:05 AM
-
March 3rd, 2007, 06:26 PM
Hi
Does anyone know of a way of defining shortcut keys which will work even if the program does not have focus?
I am trying to write a C++ program which takes a screen capture of another...
-
January 30th, 2007, 05:01 AM
Hi
I am trying to select an item in a list control using the SetItemState method. The method selects the item however the item is not highlighted on screen.
What I have at the moment is:
.....
-
October 15th, 2006, 09:48 AM
Hi
Thank you very much for showing me what to do. It works great now - cheers!
Robbie
-
October 15th, 2006, 09:11 AM
Hi
Thanks for the very quick reply.
I couldn't find the "topmost" property however I selected the "Set Foreground" option for the main dialog box. Is the topmost property on the properties...
-
October 15th, 2006, 08:22 AM
Hi
I have a problem with dialog boxes I was hoping someone could help me with:
I have a dialog based project where I am creating another window from the main dialog OnInitDialog function:
...
|
Click Here to Expand Forum to Full Width
|