Oh crap! I have made this mistake before. Thanks Salem for keeping me humble!
Maybe I should lay off of the cough syrup! :biggrin:
Type: Posts; User: Bajanine
Oh crap! I have made this mistake before. Thanks Salem for keeping me humble!
Maybe I should lay off of the cough syrup! :biggrin:
If I select 'yes' to the Copy file dialog it actually create a new sub-folder with the name of the jpg it is supposed to copy and also copies the jpg to this new sub-directory.
So if my correct...
I guess after looking at the error dialog again, I am not sure but it appears to me that this is saying it is trying to copy FROM the destination folder instead of the copy from dir. But the...
// Copy the picture file to the system directory.
ZeroMemory(&fop, sizeof(SHFILEOPSTRUCT)); // this is just for testing.
fop.hwnd = hwnd;
fop.wFunc = FO_COPY;...
Thanks novacain, I should have thought of that.
Just in case anyone else has this problem I figured it out, I just invalidated the entire dialog and everything works as I wanted. :)
When I select two pictures in a row with the 'Browse for Picture' button I get the second picture overlapping the previous picture as the picture shows in my previous post.
Here is the link to the...
I have a question regarding LPPICTURE and painting in a contol in a dialog.
My question, how do I clear the picture in a dialog (erase for the next picture to get drawn? I thought I could do it...
Sorry for the late reply but my old IBM T-30 died and I just received my new laptop so I am finally back online.
Yeah, the reason I thought I was getting the Pro version is the price tag of...
Is the academic version of Microsoft Visual Studio actually the same thing as the Professional version just sold at a discount?
I'm asking because I ordered the Pro 2008 version online but I...
Is this a typo?
What OS are you using, in Vista? Try install as an administrator not with runas.
To set a radio button try:
SendMessage(Handle2Control, BM_SETCHECK, 1,0);
and to unset a radio button try:
SendMessage(Handle2Control, BM_SETCHECK, 0,0);
/edit.
Shouldn't ofn.lpstrFilter be double null terminated.
I just figured out all I had to do was delete the *.ncb file from the project to fix the problem. When I started having trouble the file was over 1700KB after deleting and reloading the project it...
Well, I finally got a clue and just created a new project, added all the source files to the project hit rebuild and everything works now.
I went through some code and changed some structure member names in my source code. Now when I try to use the code completion feature it doesn't give me the new names only the old ones. I tried...
As Elysia says you can create a primary partition up front and then extended logical partitions for your windows/linux partitions. Windows will install the necessary files it needs to boot in the...
You might want to check for division by 0!
After closer inspection of this line of code...
WC.bFileNeedsSaved == false;
Well I feel like an idiot maybe I shouldn't try programming until 2:30 in the morning.
;)
The only reason I...
I finally found a somewhat related link that suggests reinstalling MSVC but since I have the exact problem on a different PC I can't see how this could fix it and that's a pain in the butt!
Still...
I even rebuilt the project on another pc to the save effect. It still wont let me debug the ID_FRAME_NEW case.
I am at a loss here. What else can I do besides a clean rebuild?
Update I have done what you suggested and even rebooted.
Here is another part of my code that reuses this function and it allows me to step through just fine:
case WM_CLOSE :
...
I have run across a problem trying to use break points in MSVS 2003 to debug my code. I don't see anything wrong with my code and the debugger says MBRet = 7 and it also says IDNO = 7. Anyway when I...
Thanks for the info. I had read some of those links I just thought there was an easier method. ;)
Thanks again, I will look into it.
I currently have the cursor coordinates updated at the lower left corner of the client area and it works correctly but I think I would like to have it displayed on the right hand side of the menu...