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
L

Led 0

@Led 0
About
Posts
14
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to detect a new device was installed ? (What message/event?)
    L Led 0

    Thanks, exactly what I was looking for. After 35 minutes I couldn't find anything, and while you posted I found it myself. Stupid me....

    C / C++ / MFC question tutorial

  • How to detect a new device was installed ? (What message/event?)
    L Led 0

    How to detect a new device was installed ? (What message/event?) Basicly I've got an app that uses webcam(s). When they unplug, I get a nice event that the device is unplugged. But how can I detect that a (usb) device is being connected ? I assume there's a windows-message indicating a new device connection, but I don't have a clue where to find documentation about this. (MSDN isn't always as clear as you'd like it to be :)) Ciao, Led

    C / C++ / MFC question tutorial

  • Network/Internet : Catching file-requests ..?
    L Led 0

    Ola! I'd like to write an app that logs all requested url's, but I don't have a clue where to start. (Microsoft has quite a lot of SDK's / API's, haven't been able to sort out what I need). Preferrably I'd like to catch something like the http-header including the referrer. (** see edit-note below) Anyone got any clue / hints in the right direction ? Edit: Thinking about it, it would be even nicer to log *all* requests, not only http. Ftp, rtsp etc would be sweet too !

    C / C++ / MFC sysadmin json question

  • Analyzing traffic / protocols
    L Led 0

    Would you know of any source / info that could show me how to do this ? (Get the lowlevel-packet-data ?)

    C / C++ / MFC com sysadmin tutorial question

  • Analyzing traffic / protocols
    L Led 0

    Uhh... ok :) I don't think it's needed to see all packets that pass by though, after all all you want is to know what files are accessed by what protocol. No need to spy on other datatraffic, right..?

    C / C++ / MFC com sysadmin tutorial question

  • handling a listbox's LButtonUp in parent-dialog
    L Led 0

    Well, that was my first try too. But when the mouse is over the listbox's client-area the dialog doesn't receive the OnLButtonUp-message...

    C / C++ / MFC help question

  • handling a listbox's LButtonUp in parent-dialog
    L Led 0

    Should not be too hard but I'm probably just very stupid :) I have a dialog with a listbox. I want to know when the mouse-button is released in the listbox's client-area. I DON'T want to create a special class for the listbox. So how can my dialog get an OnLButtonUp from the listbox..? Any help would be greatly appreciated! :)

    C / C++ / MFC help question

  • How to keep rendering during user-input
    L Led 0

    Forgot to mention this : The (plugin)edit-dialog also has to display the current values for all the effect-parameters. Which would mean for a message-based system like you proposed (gathering all entered data and processign it later), that the message-system has to be bidirectional. (Since you're not only inputting new values, but also *reading* them from the object) And that's a whole different, (imho way *too*) complex ballgame. :-( Ps. I don't want to disrespect you or anything, (I really value your input on my problem !!) but your signature looks really "Hey! look at me! I'm a professional developer!" flashy kind of thing :) Isn't it a bit too much..? ;-)

    C / C++ / MFC graphics help tutorial

  • How to keep rendering during user-input
    L Led 0

    A message-based system like you propose has crossed my mind (and I even started implementing it), but it seems like an overly complex solution to a very simple problem :( Then I'd have create a message-system that handles a lot of different (custom) messages, lock/unlock a message-queue etc.... If only there was a way to 1st) update the UI and thus the gfx-object parameter changes 2nd) render the frame where the rendering would be virtually uninterrupted, and the UI would be allowed to have some lag... The plugins don't "finish" by the way; it's a normal app with an edit-window for the configuration of the selected effect (selected from a listcontrol in another window). So the render-thread is rendering non-stop, and meanwhile the user can change effect-properties in the UI. (Think of a winamp-plugin with a realtime edit-window) Still, right now I'm thinking of going back to the multithreaded system.. But then I still want to find a way to make sure the plugins can't crash the app. Which means taking the locking/unlocking out of their hands - but I still have to find an elegant way to do that :-/

    C / C++ / MFC graphics help tutorial

  • How to keep rendering during user-input
    L Led 0

    I know... But it would be nice to have a way to lock the object-system before all the ui-handling and unlock it afterwards. Just like locking it before rendering and unlocking it after rendering. Locking / unlocking for every single change sucks, it means that for someone to write a plugin with an edit-dialog the code would look like this : CEditDlg::OnVar1Changed() { LockObjectSystem(); // change var here mObject->SetVar("General.SplineSegments", 10); UnlockObjectSystem(); } I'd prefer something like { LockObjectSystem(); UpdateALLDialogsAndSettings(); UnlockObjectSystem(); } 'cause in this case the people creating plugins wouldn't need to know about all the locking-stuff, and more important - they wouldn't be able to send my app down in flames by simply forgetting to lock/unlock.

    C / C++ / MFC graphics help tutorial

  • Windows media format 9
    L Led 0

    Don't hit me please, but just in case : have you checked if the Microsoft site has any samples on the subject..? It would probably help if you'd explain what you want to do..!

    C / C++ / MFC help tutorial question

  • Confused in abby
    L Led 0

    I don't have a clue, but have you tried casting the TableName to f.e. (char *) or something alike..? I wouldn't be amazed if it was some sort of type-confusion..

    C / C++ / MFC com graphics debugging help question

  • fwrite error???
    L Led 0

    are you sure your dataPtr is not NULL ? (or 0 - whichever your prefer :) )

    C / C++ / MFC help question

  • How to keep rendering during user-input
    L Led 0

    Hi, I'll try to explain my problem in as few words as possible so I won't scare anyone off with long posts :) Mission : I'm working on a hobby-project to render graphics that change with user-input. Problem : GfxObjects can be deleted/changed, but *during* rendering that's a big NONO as you'll probably understand :) Possible solutions : - Multithreading. Tried it, it's a very big pain in the arse. GfxObjects could be plugins with their own imported edit-dialogs and I don't want other developers to have the burden of doing locking / unlocking everywhere (and give'em a perfect opportunity to crash my app). - Singlethreaded : OnIdle is fine, it's just not enough. F.e. when the mouse enters the menu, idling stops. Same for window-resizing etc. The ideal way would be : { ProcessUserInput( [for a maximum time of 1/100th sec.] ); RenderFrame(); } I hope some of you guys have suggestions on how to tackle this :) - Lennart Denninger / GameCoder / Guerilla Games

    C / C++ / MFC graphics help tutorial
  • Login

  • Don't have an account? Register

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