|
-
April 14th, 2013, 07:42 PM
#19
Re: Odd Dialog creation... when deleting unused line of code
 Originally Posted by pbrama
Thanks for getting back to me so fast...
Yes, we can step through all the code without a problem. When we run it in the IDE, it works fine. When we compile it and run the EXE, it moves the dialog to the corner.
What I think I need to do.... I need to create a log file that will run in the EXE and "write" out at certain places the value of ???? to watch for when it changes. I am thinking with that, I can narrow down the section of code that may have the issue(s) for now. Problem is, because we don't specifically address the dialogs creation location... I am not 100% sure where it gets the default positioning info from that it uses.
Right track, wrong track????? At this point and way too much time going after this problem... I am at a loss. I need to make some other fixes to the program but don't want to lose my "repeatable" error.
Thanks again...
You could try building a release version with debug info in it and debugging and see if you can reproduce the problem. You could always add CenterWindow in OnInitDialog, but you could potentially hide another problem by doing that.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|