Activity for Gianni Rossi

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Vidar and Sebastian, Following your suggestions I've been able to add the WM_MOUSEWHEEL event in my TGrid class. Thanks a lot.

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Vidar, Thanks again for your valuable help, I'll try your suggestion and let you know. By the end of this year, the next generation AI may be able to take on the task. As I've shown, Bing Copilot (GPT-4) is already pretty good at OWL coding. It is amazing really! You should consider hiring a junior C++ programmer to have a look at it, assisted by AI. Very interesting, if you are following this technology could you please notify me when it will be really working? I feel bad for not being able to...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Vidar, Many thanks for your always precious suggestions, but I still need some further help if you don’t mind. As you know, the tables in my application are instances of TGrid class (by H. Picot) derived from TControl which in turn derives from TWindow. Then TGrid holds a pointer to TGridVScroll (derived from TScrollBar) which manages the vertical scrolling, here is this class definition: class _GRIDCLASS TGridVScroll : public TScrollBar { protected: void EvKeyDown (uint key, uint repeat, uint...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hello Everyone, as some of you know, I am still maintaining a large BC++ 5.02 / OWL application. I would love to migrate it to OWLNext but I have neither the time nor the skills to do so. So if any of you are interested, I can consider a paid work. In the meantime, I wonder and ask you if it would be possible in my current application to capture the mouse wheel event so that users could scroll tables like this: Obviously the mouse wheel event is not present in BC++5.02/OWL but I wonder if it was...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Vidar and All, Just solved the previous crash, here is another one occurring to other customers. When they run my application they get this error message: The application was unable to start correctly 0xc000007b Searching on the internet I found that it can be due to Visual C/C++ redistributable files, but even installing the most recent one the problem remains. Any help will be greatly appreciated.

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Jogy, I have restored our previous site to bitbucket https://bitbucket.org/geocat/geocat, you can work on the OWLNext branch whereas on the fixes branch you'll find (I guess) the changes you developed in 2019. These are some notes I can think of on the old Borland classes to replace (but you will likely find others): 1) string class should be replaced with std::string. 2) TArrayAsVector class to be replaced with std::vector. If you want we can continue the communication privately, this is my email...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Thanks Jogy. I'm not familiar with source control systems, but I'll ask to my collegues (who are) to set up one. Do you prefer some system? Gianni

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Jogy, Are you still interested in analyzing my source code to evaluate the porting to OWLNext. If so, can you please tell me the steps to perform? Thanks.

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Vidar, Many thanks for your help. The problem was indeed caused b the DEP setting turned on for all applications, so I solved it by turning it off. As for porting my application to OWLNext, as I said in the other topic, I'm more than willing to do so, but I need to commit the job to a developer who has the experience for it (that I haven't). Any idea?

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi All, As I said in another topic, I'm still mantaining a very large BC++5.02/OWL application used by several thousand custumers. As from a few months ago, for a few of these customers the application crases as soon as it is run without displaying any error message (the clock wheel runs for a while and then simply disappears). These customers has exactly the same OS of all the others (mainly Windows 10) wher it runs regularly. The crash occurs at the end of the InitMainWindow function, i. e. when...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Vidar and Jogy, Yes, I think you are right. Surely my current best option is to port my application on OWLNext / VS compilers in order to avoid the risk of being unable to further maintain it on BC++5.02/OWL. Then, with the OWLNext application working, I could fully re-design the whole project in a new development tool considering Vidar's wise suggestions. But, as I told you, I haven't the experience for the porting. So, if you Jogy, or someone else that you know (or who can help you) could do...

  • Gianni Rossi Gianni Rossi modified a comment on discussion Open Discussion

    Thanks Vidar and Jogy for your suggestions. I solved the BC++5.02 issue, it was a matter of Windows rights regarding the folder in which it has to run. Now my "dilemma" is what to do with this large application (I have several thousand customers here in Italy) because I surely can't go on with BC++5.02/OWL. My dilemma is: Should I port it on OWLNext / VS compilers or shloud I rewrite it from scratch using a complete new and modern development environment? I'm telling this because, as Vidar recalled,...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Thanks Vidar and Jogy for your suggestions. I solved the BC++5.02 issue, it was a matter of Windows rights regarding the folder in which it has to run. Now my "dilemma" is what to do with this large application (I have several thousand customers here in Italy) because I surely can't go on with BC++5.02/OWL. My dilemma is: Should I port it on OWLNext / VS compilers or shloud I rewrite it from scratch using a complete new and modern development environment? I'm telling this because, as Vidar recalled,...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Jogy, Thanks for your reply. You can try to increase some or all of the values in TLINK32.INI. If I remember correctly, that would have effect only if you are not using the incremental linker. Yes, I'm not using incremental linking. Could you please suggest me the increasing values in TLINK32.INI. You can also try to change settings to build some of the source files without debug info, if you know you won't need to debug them, to reduce the overall size of debug info. Yes, I always do that, I...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Thanks Vidar, I had a look to the FAQ but there's no topics regarding my problem. Any other idea?

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi All, As some of you guys might remember, I'm still maintaining a very large BC++5.2-OWL application. As from today, when I run BC++5.2 for debugging, it crashes as soon as it displays "Status: Linking pass 2". Here are the tasks I've tried in order to resolve but with no success: 1) Deleted the project files .DWS, .MBT, .MRT, .OBR. 2) Deleted all .OBJ files. 3) Rebuilt the whole project form scratch. I don't know i the file TLINK32.INI is involved, so please see its content here: [debugTableSizes]...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Vidar, Yes, simply adding the menu command with the F1 keyboard accelerator solved the problem. Many thanks for your always great help.

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hello everyone, I'm still maintaining an old BC++ 5.02 - OWL MDI application and want to manage the WM_KEYDOWN Windows message as soon as the application starts in order to get the F1 key opening the user's guide. Unfortunately both TDecoratedFrame and TMDIClient don't receive the message in their event trapping function EvKeyDown. Any help will be greatly apprecieted. Thank in advance. Gianni

  • Gianni Rossi Gianni Rossi modified a comment on discussion Open Discussion

    That sounds pretty nice, since you can show both context-sensitive and general help topics in your pick-list. I guess most users will figure out how the context-sensitivity works, but if not, you can educate them in the documentation and with tool tips and hint texts, etc. My application is a very large one (topography), so when the user opens one of the (more than 20) MDIChild windows he/she could performs many actions on it. Some of these actions are not simply related to how to use the program,...

  • Gianni Rossi Gianni Rossi modified a comment on discussion Open Discussion

    That sounds pretty nice, since you can show both context-sensitive and general help topics in your pick-list. I guess most users will figure out how the context-sensitivity works, but if not, you can educate them in the documentation and with tool tips and hint texts, etc. My application is a very large one (topography), so when the user opens one of the (more than 20) MDIChild windows he/she could performs many actions on it. Some of these actions are not simply related to how to use the program,...

  • Gianni Rossi Gianni Rossi modified a comment on discussion Open Discussion

    That sounds pretty nice, since you can show both context-sensitive and general help topics in your pick-list. I guess most users will figure out how the context-sensitivity works, but if not, you can educate them in the documentation and with tool tips and hint texts, etc. My application is a very large one (topography), so when the user opens one of the (more than 20) MDIChild windows he/she could performs many actions on it. Some of these actions are not simply related to how to use the program,...

  • Gianni Rossi Gianni Rossi modified a comment on discussion Open Discussion

    That sounds pretty nice, since you can show both context-sensitive and general help topics in your pick-list. I guess most users will figure out how the context-sensitivity works, but if not, you can educate them in the documentation and with tool tips and hint texts, etc. My application is a very large one (topography), so when the user opens one of the (more than 20) MDIChild windows he/she could performs many actions on it. Some of these actions are not simply related to how to use the program,...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    That sounds pretty nice, since you can show both context-sensitive and general help topics in your pick-list. I guess most users will figure out how the context-sensitivity works, but if not, you can educate them in the documentation and with tool tips and hint texts, etc. My application is a very large one (topography), so when the user opens one of the (more than 20) MDIChild windows he/she could performs many actions on it. Some of these actions are not simply related to how to use the program,...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi All, Sorry, as Vidar reminded me, I forgot to carry on this topic telling the solution. The problem was that for some unknown reasons the CreateProcess Windows API was not called with Administrator rights, even though my application was indeed running with Administrator rights. After a long investigation I finally solved this way: SetEnvironmentVariableA("__COMPAT_LAYER", "RunAsAdmin"); // Call CreateProcess here SetEnvironmentVariableA("__COMPAT_LAYER", NULL); Thanks anyway to all of you who...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Thanks Jogy and Vidar for your suggestions. Jogy's suggestion is very professional but I guess it would be very difficult for me using old BC++5.02-OWL. So finally I've implemented Vidar's solution, i. e. I manage the CM_HELPCONTENTS command (toolbar icon and F1 key) accordingly to the current active MDIChild. So when the user run the command I show a pick-list of help topics and when he/she chooses one of them I open the PDF guide in the proper destination. Thanks again for your help. P. S.: I'll...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    It works, thank you for your always valuable help. However, I don't want to remove WS_MAXIMIZEBOX and WS_MINIMIZEBOX styles because my users often need to minimize and maximize their windows. Currently I have implemented the context help by responding to the F1 keyboard key, but I would like that the users also have an on-screen icon to click. So I was thinking of using the general tollbar CM_HELPCONTENTS icon by having it responding with help contextual to the active MDIChild. What do you think...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Thanks Jogy, I followed your suggestion and tried to call SetExStyle in my TMDIChild::SetupWindow but the help icon doesn't appear. As for ModifyExStyle, the old OWL guide simply show its signature here below without any explanation of the arguments: bool ModifyExStyle(uint32 offBits, uint32 onBits, uint swpFlags = 0); So I don't know how to call it. Would you be so kind as to post a code sample on how to reach my goal? Thanks in advance. Gianni

  • Gianni Rossi Gianni Rossi modified a comment on discussion Open Discussion

    Hi All, As some of you knows, I'm still maintaining a very large BC++ 5.02 OWL application even though I'm planning to migrate it to OwlNext in the near future. In the mean time, I would like to add the Help icon in my TMDIChild windows in order to open the user context help guide from that command: If I recall well, this should be possible in old OWL but I can't find how to do it, so any help would be grateful appreciated. Thanks. Gianni

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi All, As some of you knows, I'm still maintaining a very large BC++ 5.02 OWL application even though I'm planning to migrate it to OwlNext in the near future. In the mean time, I would like to add the Help icon in my TMDIChild windows: If I recall well, this should be possible in old OWL but I can't find how to do it, so any help would be grateful appreciated. Thanks. Gianni

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi All, Thanks for you support, I've solved the problem. Gianni

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Thanks Vidar. System variables are exactly the same. In Borland C++ 5.02 I can't find how to get neither the pre-processor output nor the makefiles. Do you know how to do these actions?

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Sebastian, Yes, we are using the same compiler BC++ 5.02. Searching on the web I've seen that it seems to be somethig related to the conflict between std string class and Borlnad string class, but I wonder where the difference is since me and my colleague have exact the same IDE,and source files. Gianni

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi All, I've transfered my BC++ 5.02 application to another developer and all paths for include and library are the same, however he gets the error reported on the subject. How can we solve it? Thanks in advance.

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Yes, it happens in Geocat only. I though it was because in Geocat I also use DDE communication with a CAD application and Acrobat Reader seems to use DDE communication too, as reported in the web page posted here by Sebastian. But this is not the case neither because even removing the DDE code the problem lingers on. By the way, since I don't want to be boring for the memebers of this mailing list I'm writing an email to you explaining in detail my whole goals in case you are interested in cooperate...

  • Gianni Rossi Gianni Rossi modified a comment on discussion Open Discussion

    Hi Jogy, thanks for your support. I've tried your code but it didn't solve the problem. When I run my applications from BC++ it works, whereas when I run it standalone it doesn't. Please see your code below with a few modifications: I removed the slash from the BAT file name because I've seen that GetTempPath already adds the slash at the end of the path. Then I added the message boxes in order to debug when I run the application standalone. All the message boxes are correctly displayed and CreateProcess...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Jogy, thanks for your support. I've tried your code but it didn't solve the problem. When I run my applications from BC++ it works, whereas when I run it standalone it doesn't. Please see your code below with a few modifications: I removed the slash from the BAT file name because I've seen that GetTempPath already adds the slash at the end of the path. Then I added the message boxes in order to debug when I run the application standalone. All the message boxes are correctly displayed and CreateProcess...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Jogy, Thanks for your help. Passing 0 instead of INFINITE to WaitForSingleObject is correct because I do want the function returning immediately. In fact my goal is simply running Acrobat Reader (opening the PDF file at a certain page/bookmark) without waiting for it to be terminated. I tried to modify the code as per your other suggestions but it did not solve the problem. Please note that I use that code several times in my application for running other external processes and it works properly....

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Vidar, thanks for your suggestion, I think I can easily implement the WM_KEYDOWN event, whereas I'm not familiar with accelerators.

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    I see that the image is not available on the post above, so please find it here attached.

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Jogy, Vidar and Sebastian and many thanks for your support. First of all I would like to better explain my goal. My application is a very large topographical application (for land-surveying) which perform a lot of tasks and calculations (Jogy might remember it since when he gave me support for a first stage of migrating to OWLNext). The user guide is more than 700 pages and I'm currently pubblishing it as a proper book here in Italy. This means that I have the user guide well written and well...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi All, I'm still developing a very large Doc-View application on BC++ 5.02 / OWL in which I still need to implement a few calculations before definitively migrate it to OWLNext (since I'm totally unfamiliar with OWLNext I'll be offering this task as a paid job to someone of you guys). In the meantime I'm wondering if there is a way to add an help icon to the title bar of my MDIChild windows, as shown in the image attached. I would like to use that icon to let the user open the application's guide...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Ok, Jogy and Vidar, I'll follow your suggestion and write here in the web page my posts. Thanks.

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Jogy, Yes, simply defining OFN_ENABLESIZING and adding it to TOpenSaveDialog::TData makes the TFileOpenDialog resizable. Thanks. P.S.: I'm not familiar with this mailing-list, so I wonder if I should write in the discussion web page or if cansimply reply to emails. Can you please tell me this information? Thanks.

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Vidar, Thanks for your reply. OFN_ENABLESIZING is not included in old OWL commdlg.h header file. But, as I said, there must be a way to get the open/save dialog resizable since the one created by TDocManager is resizable. Any further idea? Thanks again. Gianni

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi All, I have a very large OWL/BC++5.02 application that I really want to migrate to OWLNext. A couples of years ago Jogy helped me to start the migration, but then I had to stop that work because I needed to restructure the whole existing application due to my customers urgent requests. Currently I can reprise that task, so I'll be back to this subject here soon offering it as a paid job. In the mean time, I would like to solve the following problem: my program is an OWL Doc/View application and...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Luigi, I’ve solved by using the rtflib found at Code Project web site. Thanks anyway. Gianni Rossi Tecnobit S.r.l. Via B. Sacchi, 9 36061 Bassano del Grappa (VI) Italy Da: noreply@sourceforge.net noreply@sourceforge.net Inviato: lunedì 17 settembre 2018 10:40 A: [owlnext:discussion] 97175@discussion.owlnext.p.re.sourceforge.net Oggetto: [owlnext:discussion] Re: C++ library for creating MS-Word or RTF documents Hi Gianni, why don't you use OLE? Luigi Il 13/09/2018 12:06, Gianni Rossi ha scritto:...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi All, I'm looking for a C++ library to include in my Borland C++ 5.02 application for creating MS-Word or RTF documents. I know that the most popular library is TX Text Control but unfortunately it is for .NET applications only. Any idea? Thanks in advance. Gianni

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Vidar, thanks for the snippet of code, I'll try to implement it in my application. Gianni Rossi Tecnobit S.r.l. Via B. Sacchi, 9 36061 Bassano del Grappa (VI) Italy Da: Vidar Hasfjord vattila@users.sourceforge.net Inviato: domenica 19 agosto 2018 00:03 A: [owlnext:discussion] 97175@discussion.owlnext.p.re.sourceforge.net Oggetto: [owlnext:discussion] Detecting memory saturation Hi Gianni, No need to apologise for posting. I recommended other forums because you are more likely to get more feedback...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Vidar, Thanks for your suggestions. I apologize for posting here an OT but I’m not expert in programming forums on the web. In the future I will surely try some other web forum for general programming issues. By the way, I do not have the problem of frizzing the application since I call PumpWaitingMessages during the calculation, so the user can perform other actions and also stop the loop. My problem is only the memory saturation. I’ll be very grateful if someone could post an example on how...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Vidar, Unfortunately, I cannot avoid the factorial degree because my algorithm is for calculating all possible permutations of N elements. That’s why I was thinking of a way to detect the run-time available memory in order to predict if the calculation is possible and, if it isn’t, warn the user and avoid the program crash. Any other idea will be greatly appreciated. Ciao. Gianni Rossi Tecnobit S.r.l. Via B. Sacchi, 9 36061 Bassano del Grappa (VI) Italy Da: Vidar Hasfjord vattila@users.sourceforge.net...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Im my application I perform a factorial algorithm that builds an array which leads to memory saturation if the user's input data are too many. So I would like to ask you if you know a way to predict the saturation so that I could show a message to the user telling to divide the input running multiple separate calculations. Thanks in advance. Gianni

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Jogy and Vidar, I'm replying here to you both. Yes, I am still interested in taking on the work, and I will contact you in private with my terms and proposal for how to procede. Good, I'm looking forward to your proposal. In the meantime, I suggest that you review Jogy's work on the project. Ok, but I need instructions on how to do this task because I'm completely inexpert about OWLNext, but please see below about the changed code. I advice that you fully settle this phase of the work, including...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Alain, It works greatly. Thanks a lot. Ciao. Gianni Rossi Tecnobit S.r.l. Via B. Sacchi, 9 36061 Bassano del Grappa (VI) Italy Da: Alain Danteny adanteny@users.sourceforge.net Inviato: mercoledì 4 luglio 2018 21:56 A: [owlnext:discussion] 97175@discussion.owlnext.p.re.sourceforge.net Oggetto: [owlnext:discussion] Re: Owner draw buttons Sure, it's easy. Instead of CONTROL "", IDC_BLACK, "button", BS_OWNERDRAW | WS_CHILD | WS_VISIBLE, 8, 27, 15, 15, WS_EX_CLIENTEDGE use this syntaxe CONTROL "",...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Jogy and Vidar, Are you still interested in my proposal to migrate my BC++ 5.02 OWL application to OWLNext? Please let me know because I really need to move forward on this solution since BC++ 5.02 is everyday more instable as the application grows. Please let me also know if you think that we better talk about this in private, in which case please reach me at: Email: g.rossi@tecnobitmail.com g.rossi@tecnobitmail.com Skype g.rossi.tb (but currently I’ve moved to Slack, please let me know if you...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Alain Your code seems a great solution, thanks. Would you also be so kind as to tell me how to define you UColorControl controls in my dialog resource? Thanks again. Gianni Da: Alain Danteny adanteny@users.sourceforge.net Inviato: martedì 3 luglio 2018 21:33 A: [owlnext:discussion] 97175@discussion.owlnext.p.re.sourceforge.net Oggetto: [owlnext:discussion] Owner draw buttons Gianni, Here you go with a quick&dirty class I wrote meanwhile. Derived from TControl. Act like a CheckBox. That should...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Alain, thanks for your detailed explanation, but it seems too complicated to me for just this task because I have not enough experience in handling all those Windows events and stuff. I’m looking for something simpler, unless you could send me a complete example. Gianni Da: Alain Danteny adanteny@users.sourceforge.net Inviato: lunedì 2 luglio 2018 17:40 A: [owlnext:discussion] 97175@discussion.owlnext.p.re.sourceforge.net Oggetto: [owlnext:discussion] Re: Owner draw buttons Furthermore, if you...

  • Gianni Rossi Gianni Rossi modified a comment on discussion Open Discussion

    Hi Sebastian, Your color Owner Draw combobox could be fine for this 8-only colors to choose from. Is there a chance to get it? Anyway, I have also to develop another color dialog box which permits to choose between 256 colors (those ones used by AutoCAD) and of course I need to show the user the color picked, like that in the image attached. I mean, I don’t want that the user can navigate between all possible colors (RGB combinations) but that the choice is only to select one of the 256 colors. Any...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Sebastian, Your color Owner Draw combobox could be fine for this 8-only colors to choose from. Is there a chance to get it? Anyway, I have also to develop another color dialog box which permits to choose between 256 colors (those ones used by AutoCAD) and of course I need to show the user the color picked, like this one: I mean, I don’t want that the user can navigate between all possible colors (RGB combinations) but that the choice is only to select one of the 256 colors. Any idea or source...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Vidar, Yes, I just need to restrict the options to those 8 colors, that’s way I tried to implement that dialog. As I said, everything works fine except that the user has not the evidence of which color is selected. Gianni Da: Vidar Hasfjord vattila@users.sourceforge.net Inviato: lunedì 2 luglio 2018 21:14 A: [owlnext:discussion] 97175@discussion.owlnext.p.re.sourceforge.net Oggetto: [owlnext:discussion] Owner draw buttons An even simpler alternative: Use the standard colour selection dialog, unless...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Vidar, I've tried to add WS_BORDER to the buttons in the resource: CONTROL "", IDC_LTBLUE, "button", BS_OWNERDRAW | WS_CHILD | WS_VISIBLE | WS_BORDER, 31, 27, 15, 15 but this does not show the thin border that you say. Do you mean that I have to change something in my overridden EV_WM_DRAWITEM handler for the selected button? Thanks. Gianni Da: Vidar Hasfjord vattila@users.sourceforge.net Inviato: domenica 1 luglio 2018 22:25 A: [owlnext:discussion] 97175@discussion.owlnext.p.re.sourceforge.net...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Jogy, Thanks for your feedback. Yes, it would be great if you can transfer the project to Vidar since he said he has the time to complete it. If so, would you be so kind as to inform Vidar about both the topics to implement and the fee we agreed? So, maybe you and Vidar could spread the fee considering the job already done. Vidar, Of course I’m also willing to revise the whole agreement if you think that it’s necessary. Looking forward to your reply. Bye for now. Gianni Rossi Tecnobit S.r.l. Via...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Sebastian, thanks for your help, I'll try what you suggested. Regarding to port my application to OWLNext, I really would like to do so, but it's a huge application and I have no time nor the experience for this task. In fact, I also asked here if someone is available to do this job on commission. Jogy seemed to be willing to do the job for a certain amount, but then I never heard from him any longer. If you have any idea on this matter you are welcome. Ciao. Gianni Rossi Tecnobit S.r.l. Via B....

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Thanks a lot, Sebastian. Ciao. Gianni Rossi Tecnobit S.r.l. Via B. Sacchi, 9 36061 Bassano del Grappa (VI) Italy Da: Sebastian Ledesma [mailto:sebas_ledesma@users.sourceforge.net] Inviato: mercoledì 14 febbraio 2018 14:18 A: [owlnext:discussion] 97175@discussion.owlnext.p.re.sf.net Oggetto: [owlnext:discussion] Changing the font of a TStatic in a TDialog Gianni: You can see an example of custom static control with specific font at Mohsen site: http://www.jahanshahi.ws/owl.htm Check for the 'FontText'...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi All, Is there a way to change the font (e.g. enlarging it) in a TStatic inside a TDialog in an old BC++ 5.02 OWL application? I checked in the Resource Editor but I didn't find any option for this purpose. Maybe it can be achieved programmatically, any idea? Thanks. Gianni Rossi

  • Gianni Rossi Gianni Rossi modified a comment on discussion Open Discussion

    Hi Sebastian, Ognian and Jogy, Thanks for your help, I'll try what you suggested and let you know. Ciao. Gianni Rossi Tecnobit S.r.l. Via B. Sacchi, 9 36061 Bassano del Grappa (VI) Italy

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Sebastian, Ognian and Jogy, Thanks for your help, I’ll try what you suggested and let you know. Ciao. Gianni Rossi Tecnobit S.r.l. Via B. Sacchi, 9 36061 Bassano del Grappa (VI) Italy Da: Ognian Tchernokojev [mailto:jogybl@users.sourceforge.net] Inviato: lunedì 12 febbraio 2018 13:23 A: [owlnext:discussion] 97175@discussion.owlnext.p.re.sf.net Oggetto: [owlnext:discussion] Masked TEdit derived control to get password input Hi, Gianni, You can try to use TEdit::SetPasswordChar() http://owlnext.sourceforge.net/help/html/d4/d39/group__ctrl.html#gaf0e7b285...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Sebastian, Thanks for your reply. Sorry I did not well specify my purpose. I would like to show dots instead of asterisks and also allow only a certain set of characters. Ciao, Gianni Rossi Da: Sebastian Ledesma [mailto:sebas_ledesma@users.sourceforge.net] Inviato: domenica 11 febbraio 2018 19:31 A: [owlnext:discussion] 97175@discussion.owlnext.p.re.sf.net Oggetto: [owlnext:discussion] Masked TEdit derived control to get password input Hi Gianni: The standard windows EDIT control (aka TEdit for...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hello, I have a Borland C++ 5.02 OWL application (so not OWLNext) in which I need to request the user password and obviously I would like to implement a usual masked input visualizing dots instead of the real typed characters. So I wonder if someone of you has already implemented a TEdit derived class for this purpose and is willing to send it to me. Thanks in advance. Gianni Rossi

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Sebastian and Vidar, Thanks for your help. Please see above my reply to Ognian for further information on my project. Gianni

  • Gianni Rossi Gianni Rossi modified a comment on discussion Open Discussion

    Hi Ognian and thanks for your help. Sorry for the delay of this reply, but I thought I was warned via email when there was a new message in this thread (is it possible?), instead I didn't get any. Good to know that TArray and Borland strings should not be big issues for the porting. As for the BDE my application only uses it to store data in tables (Paradox) but without a real database management, i.e. I don't use quiries nor relations between tables. So maybe I could also evaluate to substitute...

  • Gianni Rossi Gianni Rossi modified a comment on discussion Open Discussion

    Hi Ognian and thanks for your help. Sorry for the delay of this reply, but I thought I was warned via email when there was a new message in this thread (is it possible?), instead I didn't get any. Good to know that TArray and Borland strings should not be big issues for the porting. As for the BDE my application only uses it to store data in tables (Paradox) but without a real database management, i.e. I don't use quiries nor relations between tables. So maybe I could also evaluate to substitute...

  • Gianni Rossi Gianni Rossi modified a comment on discussion Open Discussion

    Hi Ognian and thanks for your help. Sorry for the delay of this reply, but I thought I was warned via email when there was a new message in this thread (is it possible?), instead I didn't get any. Good to know that TArray and Borland strings should not be big issues for the porting. As for the BDE my application only uses it to store data in tables (Paradox) but without a real database management, i.e. I don't use quries nor relations between tables. So maybe I could also evaluate to substitute BDE...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Ognian and thanks for your help. Sorry for the delay of this reply, but I thought I was warned via email when there was a new message in this thread (is it possible?), instead I didn't get any. Good to know that TArray and Borland strings should not be big issues for the porting. As for the BDE my application only uses it to store data in tables (Paradox) but without a real databse management, i.e. I don't use quries nor relations between tables. So maybe I could also evaluate to substitute BDE...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi Alain and Ognian and thanks for your replies. I don't have an exact idea on how should I count the largeness of my application. I can only tell you that my .cpp files are around 200 and the number of lines printed by the compiler after a complete rebuild is 32.768.756 but I guess this includes all the Borland/OWL stuff, what do you think? Here are some other information that, as far as I know, may be of your interest in order to evaluate the migration: 1) It is a Doc/View application. 2) I make...

  • Gianni Rossi Gianni Rossi modified a comment on discussion Open Discussion

    Hi All, I have a large BC++ 5.02 OWL application that I would like to migrate to OWLNExt but I have no time to do this task by myself. So I wonder if there is any of you who would do this job on commission. If so I will obviously post my application details in order to agree the amount to be paid. Thanks in advance. Gianni

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi All, I have a large BC++ 5.02 OWL application that I would like to migrate to OWLNExt but I have no time to do this task by myself. So I wonder if there is any of you who wolud do this job on commission. If so I will obviously post my application details in order to agree the amount to be paid. Thanks in advance. Gianni

  • Gianni Rossi Gianni Rossi modified a comment on discussion Open Discussion

    Hi All, I'm new to this forum, I have a very large BC++ 5.2 Old-OWL project in which...

  • Gianni Rossi Gianni Rossi modified a comment on discussion Open Discussion

    Hi All, I'm new to this forum, I have a very large BC++ 5.2 Old-OWL project in which...

  • Gianni Rossi Gianni Rossi posted a comment on discussion Open Discussion

    Hi All, I'm new to this forum, I have a very large BC++ 5.2 Old-OWL project in which...

1