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
W

waxie

@waxie
About
Posts
54
Topics
21
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Input parameters for visual studio
    W waxie

    Hi guys, I would like to ask how to enable input parameter request upon debugging/executing an application in visual studio? I am trying to debug my c++ application and since I am used to running an application in the command line, I have no idea how to do this in visual studio. If in the command line, usual stuff would be: test 1 -> where test is the application and 1 is the parameter. Is there any way where a request for input parameter would be enabled in visual studio? Sorry, I am not that used to VS. I would appreciate any help. Thanks! -waxie-

    C / C++ / MFC visual-studio csharp c++ debugging help

  • input parameter upon debugging an application
    W waxie

    Hi guys, I would like to ask how to enable input parameter request upon debugging/executing an application in visual studio? I am trying to debug my c++ application and since I am used to running an application in the command line, I have no idea how to do this in visual studio. If in the command line, usual stuff would be: test 1 -> where test is the application and 1 is the parameter. Is there any way where a request for input parameter would be enabled in visual studio? Sorry, I am not that used to VS. I would appreciate any help. Thanks! :) -waxie-

    Visual Studio visual-studio csharp c++ debugging help

  • CDlg on active (MFC)
    W waxie

    Nope, it's not a property page. It's a tab page in a tabcontrol.:)

    C / C++ / MFC question c++ help

  • CDlg on active (MFC)
    W waxie

    Just to be sure,what I did is I went to the dialog resource and looked for the message handlers in its properties and added a message handler for WM_ACTIVATE. Still no good though. The dialog (my dialog) is one of the tabs of a parent dialog. Would it matter?

    C / C++ / MFC question c++ help

  • CDlg on active (MFC)
    W waxie

    I also tried the above suggestions already, still no good. Thanks for the replies though. :) I really appreciate them.

    C / C++ / MFC question c++ help

  • CDlg on active (MFC)
    W waxie

    OnShowWindow still doesnt work. :( Thanks for the reply though. :)

    C / C++ / MFC question c++ help

  • CDlg on active (MFC)
    W waxie

    Nope. Not on initial load. I was looking for an event handler every time the dialog is activated, or everytime the dialog goes active (may it be by clicking, or by some key strokes).

    C / C++ / MFC question c++ help

  • CDlg on active (MFC)
    W waxie

    Hi guys, I would like to ask, what is the event handler for dialog activation? I've tried OnActive but it doesn't seem to work. I just want a handler every time a dialog is activated. I'd really appreciate any help or input. Thanks! :rose: Christina

    C / C++ / MFC question c++ help

  • Catching the Escape Key (MFC Dialogs)
    W waxie

    Hi guys, I've been reading some forums about catching the escape key. I have this property page and when I press the escape key, instead of closing (which should have happened by default), does not close. There were some suggestions like overriding OnClose and OnCancel or using PreTranslateMessage which has this code: BOOL MFCDigPropPage::PreTranslateMessage(MSG* pMsg) { if(pMsg->message==WM_KEYDOWN) { if(pMsg->wParam==VK_RETURN || pMsg->wParam==VK_ESCAPE) MessageBox("Pressed the escape or enter key!"); } return CDialog::PreTranslateMessage(pMsg); } This code worked when I created a simple dialog box with just the OK and Cancel button on it. But when i tried it on my property page, it does not work anymore. Any suggestions/ideas regarding this one??? I would really really really appreciate any help on this. Thanks! :) :rose: waxie

    C / C++ / MFC c++ help question

  • Manipulating window.confirm()
    W waxie

    Hi guys, I have an issue with my confirm window. I currently am using firefox browsers in 2 PCs. The problem is, the OK button in the other pc generated by window.confirm() shows after the Cancel button (the order of buttons is Cancel - OK instead of OK-Cancel). But in the other pc, it is fine. What may be causing the issue? I was thinking it may be a browser issue but then when i used konqueror, it outputted alright. Is there a way to manually manipulate the buttons? I would appreciate any inputs and suggestions on how I can remedy this petty issue. Thanks! -waxie-

    Web Development help question

  • Help with MFC Timers
    W waxie

    Ranjan Shrestha wrote:

    BEGIN_MESSAGE_MAP(CMyTimer, CWnd) ON_WM_TIMER() END_MESSAGE_MAP()

    My problem was with (above). How stupid of me. :mad: I finally got it. I overlooked my code. Thanks ranjan! :) :rose:Christina

    C / C++ / MFC c++ help tutorial question

  • Help with MFC Timers
    W waxie

    Kurt _B wrote:

    Why would you create a whole class just for a timer? Seems to be overkill.

    LOL. :) Good point. Just for testing - because my timer in my application is not working. I finally figured it out! ;) :rose:Christina

    C / C++ / MFC c++ help tutorial question

  • Help with MFC Timers
    W waxie

    Hi guys, I tried making my own timer application, where a number increments every second. I just wonder how SetTimer() and OnTimer() works? My timer class really does not work! X| It can initialize the timer but then it does not get into the OnTimer() function even when the time is due.:(( How does this really work? I would really appreciate it if someone can give me a simple but concrete example. Yes, there are some samples in the internet, but really, I could not understand the mechanics beneath them. Can someone provide me with simple steps on creating this simple timer class? If I could only make this work.. my timer class is super essential to make everything in my application work. To the person who could help me with this, kudos to you! :cool: Many thanks, :rose:Christina

    C / C++ / MFC c++ help tutorial question

  • How to do Timers in MFC
    W waxie

    Hi guys, I really really need your help. I have been tinkering with the CWnd timer functions for days now and I really could not understand its concept. I tried doing a "timer-like" simulation using a simple dialog box with just a number that increments. Sounds really lousy but I really just want to do that with the CWnd::SetTimer and CWnd::OnTimer. I just want to see how it works, what executes when I set a timer duration of 1 second. What goes to where. I'd really really appreciate it if you could help me with some explanations, or better yet, a simple code with that dialog box timer i could not complete.:-O Miss programmer in distress, :rose: X| waxie

    C / C++ / MFC c++ help tutorial

  • Get URL/Webpage address in Back Button (JavaScript)
    W waxie

    Hi guys, I would like to inquire how to get the webpage/url address in real time from the back button. As we can see, when we push (down) pull down button in the back button, we can view the previous webpage visited. Is there a way to retrieve the url address in the back button without clicking on a link or a button using javascript? your help would really be much appreciated.:-O :rose:Christina

    Web Development javascript help tutorial question

  • Reading and Writing to a file at the same time
    W waxie

    Yes, the program finds the evaluated string. I'm sure with that. And yes, it can write coz i tried writing to a file without reading and it does write. WriteString doesn't have a return value - it returns void.

    C / C++ / MFC c++ help question

  • Reading and Writing to a file at the same time
    W waxie

    Honestly, it really does not work. My new string does not appear anywhere in the file - or as expected, after the old string.

    C / C++ / MFC c++ help question

  • Reading and Writing to a file at the same time
    W waxie

    Yeah, OK, say the pointer is really not in the right position. But why doesn't my 'overwriting' string appear in any parts of the text file? Am I correct to assume that it should appear? Say, on the next line? Thanks so much for all your replies.

    C / C++ / MFC c++ help question

  • Reading and Writing to a file at the same time
    W waxie

    I wonder... why doesn't this code work? CString csCurrLine; while(oFile.ReadString(csCurrLine)) { if(csCurrLine==_T("String")) { oFile.WriteString(_T("Overwrite String")); break; } } oItemListFile.Close(); TheBuggy

    C / C++ / MFC c++ help question

  • Reading and Writing to a file at the same time
    W waxie

    Really? can you give me a snippet of the working code please? Thanks! TheBuggy

    C / C++ / MFC c++ help 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