30 November 2018, 13:51 | #1 |
68k
Join Date: Sep 2005
Location: Somewhere
Posts: 828
|
Questions about Intuition function - OpenWindow
I want to open window - so I am going to use OpenWindow function. and I will using NewWindow structure. So I want to this dynamically. Mean I will allocating memory for this structure and fill in.
1. To be compatible with kick1.3 - 3.1 I need to use size of ExtNewWindow, right ? 2. Can I just release this memory if window was opened with success ? tia |
30 November 2018, 16:14 | #2 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
ExtNewWindow structure was introduced in Kickstart 2. Regular NewWindow should work in all Kickstart versions (though the extended fields should be ignored in 1.3 anyway).
|
30 November 2018, 16:31 | #3 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
|
30 November 2018, 17:13 | #4 |
68k
Join Date: Sep 2005
Location: Somewhere
Posts: 828
|
@Samurai_Crow, @meynaf. Thanks a lot . I should read documentation first.
|
30 November 2018, 17:17 | #5 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
@Asman
You're welcome! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
C Intuition Help | plasmab | Coders. General | 7 | 15 October 2018 09:05 |
Beginner questions: text display in an Intuition window and scrolling | thyslo | Coders. System | 6 | 07 October 2018 18:47 |
1.x Intuition knob gadget | arcanist | Coders. System | 0 | 30 January 2018 17:49 |
intuition.library | zharn | Coders. System | 8 | 22 February 2015 12:50 |
Intuition - Menus | Gilloo | Coders. System | 1 | 05 March 2012 10:11 |
|
|