Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: robbiegregg

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Statically linking a DLL into FORTRAN (!!)

    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...
  2. Thread: C++ '101'

    by robbiegregg
    Replies
    1
    Views
    462

    C++ '101'

    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...
  3. Re: Writing gdiplus to graphics file (JPG or PNG)

    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
  4. Writing gdiplus to graphics file (JPG or PNG)

    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...
  5. Re: Making a DataGridView table that is full of ComboBox's... possible? (Y/N)

    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...
  6. Replies
    6
    Views
    1,861

    Re: Writing a CDC to a jpeg file

    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;
  7. Replies
    6
    Views
    1,861

    Re: Writing a CDC to a jpeg file

    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
  8. Replies
    6
    Views
    1,861

    Writing a CDC to a jpeg file

    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. ...
  9. Replies
    3
    Views
    834

    Adequate encryption?

    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...
  10. Replies
    2
    Views
    404

    Re: Changing the exponent size

    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...
  11. Writing UNIX compatible carriage returns

    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...
  12. Replies
    2
    Views
    404

    Changing the exponent size

    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...
  13. Re: Updating a progress bar from within a user interface thread

    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...
  14. Re: Updating a progress bar from within a user interface thread

    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...
  15. Re: Updating a progress bar from within a user interface thread

    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...
  16. Updating a progress bar from within a user interface thread

    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. ...
  17. Re: Opening a file without overwriting it!

    Cheers Philip, I will try that tonight.
  18. Opening a file without overwriting it!

    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:
    ...
  19. How to change the project name of an existing project

    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...
  20. Re: Enabling shortcut keys when program does not have focus

    Thanks
  21. Enabling shortcut keys when program does not have focus

    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...
  22. Selecting item in a List Control

    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:

    .....
  23. Re: Making a dialog box appear above another

    Hi

    Thank you very much for showing me what to do. It works great now - cheers!

    Robbie
  24. Re: Making a dialog box appear above another

    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...
  25. Making a dialog box appear above another

    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:
    ...
Results 1 to 25 of 41
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center