As some of you know, I am developing a code/text editor called OmniPad. Well, part of that uses a C++ module, and I have run into a problem. the C++ module will not allow me to use ole drag and drop, so when I have a file open, I am unable to drag files onto OmniPad to have them open.
Well, I discovered a way around this, it was posted in May 1996 Microsoft System Journal, and it allows me to use drag and drop, no matter what control is in focus. However, it causes problems inside of an MDI interface. Rather than trying to explain the problems, I took screen caps.
This first screen cap is OmniPad in its open state with 2 blank documents open:
As you can see, all nice and fine, and the drag and drop works, now watch what happens when I close one of the open files:
note that the remaining window went into "restore" state, and all I have to do is touch the window, and it remaximizes the window, but that is where the real problem comes in:
Notice the red circles, how it is duplicating everything, well it adds one for every open file, so if you have 15 open files, that can get pretty bad.
Now, this only happens with that dragdrop control implemented, and I was hoping that someone could take a look at the source code available here: http://josh.ikonboard.com/VPMAY96.zip (its the dragdrop.zip inside the linked zip file) and see if they could help me determine what the problem is (I am NOT a C++ developer by any means).
You can reach me through any of the mediums below, or just post, but any help would be greatly appreciated, and you will of course be credited in the program.
AIM: mehatemicrosoft
ICQ: 31329682
MSN: jpliveshere@hotmail.com
Yahoo: mrbigglesworth8u
Thanks in advance for any help you can provide.
Well, I discovered a way around this, it was posted in May 1996 Microsoft System Journal, and it allows me to use drag and drop, no matter what control is in focus. However, it causes problems inside of an MDI interface. Rather than trying to explain the problems, I took screen caps.
This first screen cap is OmniPad in its open state with 2 blank documents open:
As you can see, all nice and fine, and the drag and drop works, now watch what happens when I close one of the open files:
note that the remaining window went into "restore" state, and all I have to do is touch the window, and it remaximizes the window, but that is where the real problem comes in:
Notice the red circles, how it is duplicating everything, well it adds one for every open file, so if you have 15 open files, that can get pretty bad.
Now, this only happens with that dragdrop control implemented, and I was hoping that someone could take a look at the source code available here: http://josh.ikonboard.com/VPMAY96.zip (its the dragdrop.zip inside the linked zip file) and see if they could help me determine what the problem is (I am NOT a C++ developer by any means).
You can reach me through any of the mediums below, or just post, but any help would be greatly appreciated, and you will of course be credited in the program.
AIM: mehatemicrosoft
ICQ: 31329682
MSN: jpliveshere@hotmail.com
Yahoo: mrbigglesworth8u
Thanks in advance for any help you can provide.