I'm having problems mapping NTSC frames to a time/drawing location. Currently the sofware is using the integer approximation 30000/1001 in it's calculations, this however will often cause the...
So, I embed custom colored cursors (transfered from a prototype MFC app, working fine there) into my C# app. Load all of the embedded cursors into an array and switch the cursor depending on which...
I may just be missing a simple call; but how do I find out if the shift, ctrl, and or alt keys are pressed when the mouse is clicked? For example, I may want to click on several objects on the...
Just in case you're still having this problem or if anyone else searches for a similar problem: For a Control that has the autoscroll property, it determines whether or not to show the scroll bars...
It may work fine for most things on XP but for some reason the toolbars don't display images. I tried using a imagelist with images placed in the wizard, and loading (.AddStrip) a stirp af images...
Actually, it was more of the last bit contained in "off you go"... i.e. the only way I could figure to get this to work was to insert the .manifest file in the same location as the exe. Is there...
Hate to sound dense here, but do you know of an example that shows how to do this? I tried creating a app.exe.manifest file and added it to the project but that didn't work. And, as usual, I'm...
There seems to be a problem with enabling XP style (EnableVisualStyles) and toolbars, i.e. the buttons will not display images. Has anyone solved this/found a work around???
Yes, as far as I know, the only vendor suppling C# is microsoft. I would tend to buy it from them anyway as they own it and theirs is likely to be more up to date...
Yeap, I used the image list, loaded the bmp into is and did all the associations (at least as far as I can tell)... Works fine if the toolbar is not docked but otherwise the images only show up...
What's the equivalent to CRectTracker in .Net??? The functionality I'm looking for is the ability to click on one or more drawn object(s), draw the selection handles and track mouse movement to...
I hate replying to my own posts (yeah, I could edit them, oh well). It seems when the toolbar has a "Dock" property of left or right, the images for the toolbar buttons don't show. Has anyone...
Weirdness, after several compiles, trying this and that with no effect, I go home and come back in the morning and the toolbar button is there... Now, I'm almost afraid to muck with it, it might...
I'm not sure how C# handles pointers, which is what you'd need to use for the return for GetProcAddress. This appears to be a workable way to dynamically load a function from a DLL:
You might look at the Split method, as long as the substring you're looking for ends with a space... IndexOf would also work to find the first deliminator/space...
I'm creating a vertical toolbar with 1 or more buttons with images for each. In design, the buttons (actually the 1 button for now) show up fine, but when the app is run, the toolbar and button show...
I have no clue what WTA is, sorry. On reading and writing records, either do it through XML ('cuz you should be easily able to add fields etc...) or you could read and write the records as a chunk,...