Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

Jose Luis Sogorb

@Jose Luis Sogorb
About
Posts
60
Topics
30
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Skipping data with fscanf?
    J Jose Luis Sogorb

    Yes, but I have to read the unwanted data and assign them a place to store them and then discard? There are 23 unwanted entries in each line, and there are 80 lines. This is what I dont want to do.

    C / C++ / MFC data-structures question

  • Skipping data with fscanf?
    J Jose Luis Sogorb

    Hello, I have 80 lines in a text file with 30 values each line separated by a white space (some are ints, doubles and another strings). I have made a routine with fscanf() to read each line and store the values I need. But I only need 7 of the 30 values to store them in an array, so , for instance, I want to store the first data, and the second and third, then skip the next 4 values, store the next and so on. Is there a way to skip entries with fscanf function? Thank you.

    C / C++ / MFC data-structures question

  • Scanning & extracting from CString
    J Jose Luis Sogorb

    Thank you!

    C / C++ / MFC

  • Scanning & extracting from CString
    J Jose Luis Sogorb

    Anybody can show me an easy way to extract words from a string. Say I have the CString "03 March 2005" and I want an integer with the day, a string with month and an integer with year. Thanks.

    C / C++ / MFC

  • DateTimePicker error debugging
    J Jose Luis Sogorb

    It works fine in debug mode, also. Thanks!!!!

    C / C++ / MFC help debugging question announcement

  • DateTimePicker error debugging
    J Jose Luis Sogorb

    Thank you, very much. I'll try it.

    C / C++ / MFC help debugging question announcement

  • DateTimePicker error debugging
    J Jose Luis Sogorb

    No, I have it setted as 'short date' style. Can you give me an example code as you have initialized it? Thanks

    C / C++ / MFC help debugging question announcement

  • DateTimePicker error debugging
    J Jose Luis Sogorb

    No, the value in the dialog appears automatically(actual date), so I thought it was not needed to init with a value. How do you do it?

    C / C++ / MFC help debugging question announcement

  • DateTimePicker error debugging
    J Jose Luis Sogorb

    Same error.

    C / C++ / MFC help debugging question announcement

  • DateTimePicker error debugging
    J Jose Luis Sogorb

    Hi: I have this code: Into DoDataExchange DDX_Control(pDX, IDC_DATETIMEPICKER, m_date); Into own function: void CDialogSd::OnOK() { CDialog::OnOK(); CTime time; m_date.GetTime(time); day.Format("%d",time.GetDay()); month.Format("%d",time.GetMonth()); year.Format("%d",time.GetYear()); } It works fine when compiling in Release Mode, but find an exception when running in Debug Mode and it breaks at: _AFX_INLINE int CTime::GetDay() const { return GetLocalTm(NULL)->tm_mday; } Looking for the 'time' value it appears as 1108057231 (%ld value)in Release and -365867584 when debugging. What could be the problem? Thanks

    C / C++ / MFC help debugging question announcement

  • Inserting an image into a view
    J Jose Luis Sogorb

    Thank you.

    C / C++ / MFC question

  • Inserting an image into a view
    J Jose Luis Sogorb

    Hi: which is the easiest way to insert a little image (maybe a BMP 30x30 pixels) in specific coordinates (x, y) into a view? Thanks.

    C / C++ / MFC question

  • Hyperlinks into afxcore.rtf
    J Jose Luis Sogorb

    Hi: is is possible to add extern hyperlinks into the help file afxcore.rtf?

    C / C++ / MFC help question

  • Push Button Properies-Icon prompt?
    J Jose Luis Sogorb

    Thank you, I also have found a good article: http://www.codeproject.com/buttonctrl/tooltipressourcebutton.asp

    C / C++ / MFC question

  • Push Button Properies-Icon prompt?
    J Jose Luis Sogorb

    Hi: if I have defined a push button as an Icon is there any way to show an info prompt when I put the mouse over this button? Thanks.

    C / C++ / MFC question

  • Capturing and stretching image
    J Jose Luis Sogorb

    Thanks, but is it not another easier solution without saving first the image to a file?

    C / C++ / MFC question

  • Capturing and stretching image
    J Jose Luis Sogorb

    Hi: I need to capture an image made in my window (with MoveTo and LineTo functions) and stretched it to another size. How can I make it? thanks,

    C / C++ / MFC question

  • MSFlexgrid distribute?
    J Jose Luis Sogorb

    Hi, I have included an MSFlexgrid control into my MFC application and I don't know if it is necessary to add the ocx file, as well as another files into the project to distribute the program (and what files?). And is it needed to make a registering routine for this Activex control in Windows register? Thanks

    C / C++ / MFC c++ com question

  • Exit with confirmation
    J Jose Luis Sogorb

    Ok, that works, I've override onclose, and it's ok. And what about killing the process from task manager, is it possible to do the same? Thanks a lot.

    C / C++ / MFC question

  • Exit with confirmation
    J Jose Luis Sogorb

    I need to ask for confirmation when finishing an app, how can I process the messages sent by any way of closing an application? ("Exit" in File Menu, the cross at top-right in the window, or even using task manager) Thank you.

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups