Replies: 11 comments 12 replies
-
I agree and will implement the popup messages using a custom dialog that honours the application's dark theme.
LOL |
Beta Was this translation helpful? Give feedback.
-
I have implemented CustomMessageBox and CustomPopupMenu controls. These help make the design more consistent with the entire program. I am not 100% sure about the color choices I used for CustomMessageBox so feel free to suggest changes. I based the design of CustomMessageBox on my Windows 10 machine. I will try it later on my Windows 11 machine to see if it looks different, etc. |
Beta Was this translation helpful? Give feedback.
-
This has now been added and source code committed. I used a simply BLACK, 1 pixel wide, high dpi aware border. |
Beta Was this translation helpful? Give feedback.
-
With the new menu for new Trade, it is no longer possible to select the same thing twice in a row. Something else must first be selected so that the entry can be selected again. Do you think the check mark from the last selection makes sense here? |
Beta Was this translation helpful? Give feedback.
-
My error. It is a regression from previous code. I added code that would prevent a selection's action from firing if the selection had not changed. Obviously, this does not work logically with the New Trade action. In the ActiveTrades.cpp file: I have fixed the problem but have not yet uploaded the source changes. I have been writing a new custom calendar control to replace the default system one that is currently used. I am almost finished it and it looks good with the consistent dark theme like the rest of the program. It is not a one-to-one copy of the system calendar but it is close and should serve the purpose well. |
Beta Was this translation helpful? Give feedback.
-
New custom calendar has been implemented and uploaded to the repository. Will continue to test it especially when two calendars are displayed rather than one. The written code is pretty good and I was surprised that I could implement such functionality with such little code. |
Beta Was this translation helpful? Give feedback.
-
Lol, thanks, I will take a look at your suggestions. I just uploaded new code as you were posting your response. It fixes a problem whereby new transactions would have zero quantity thereby causing it not to appear in the Open Trades grid. |
Beta Was this translation helpful? Give feedback.
-
This is now done and source code updated in repository.
This would be very difficult to do because it would involve querying online database (maybe through TWS) to get all of the expiry dates and then mark them on the calendar. Popping up a calendar would then be very slow. Also, if the user is not connected then I would not be able to color the days anyway. Also, options like for SPX that expiry daily would then have a full calendar of orange days. This suggestion may be a little too difficult for the scope of this program. 😁
I will have to think about this one and maybe try a demo of it to see if I like it better. I find that using the mouse wheel to scroll the two calendar format seems more natural vertically than horizontally. I use two calendar format a lot when rolling options out in time for longer time frames.
I have implemented a new Setting for "First day of the week". I was able to easily integrate it into the CustomCalendar code and it seems to work very well. I think that I actually like better how the calendar displays when Monday is the first day of the week. It does not look as cluttered. |
Beta Was this translation helpful? Give feedback.
-
The scroll wheel is also a good idea and should stay that way.
This gives the weekend the meaning it deserves. |
Beta Was this translation helpful? Give feedback.
-
Error messages dialog could be displayed in the applications design instead of the system messages. The break in appearance is very large. This would enhance the user experience. Then an error is only half as bad.
Beta Was this translation helpful? Give feedback.
All reactions