Add news resource ids to app ?

Post Reply
ShumingWang
Posts: 454
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Add news resource ids to app ?

Post by ShumingWang »

Hi,
An app dialog linked with DLL ,could I add new resource ids at runtime ?
for example:

function main()

define dialog odlg resource "odlg"

redefine get cget1 id 101 of odlg
redefine button id 102 of odlg

activate dialog odlg on init (addnewids())

return

function addnewids()
redefine button id 103 of odlg
// id 103 does not exists in resource odlg
return



Best regrad!
Shuming Wang
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Shuming,

function addnewids()
@ 2, 2 BUTTON "Another" of odlg
return
regards, saludos

Antonio Linares
www.fivetechsoft.com
ShumingWang
Posts: 454
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Post by ShumingWang »

Antonio,

Thanks!

Shuming Wang
Frank Demont
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Post by Frank Demont »

Hi,

Antonio , can objects from source be merged with objects from resources ?

Maybe a better aproach is to first redefine all objects from the dll , but then hide what not is needed

frank
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Frank,

> can objects from source be merged with objects from resources ?

viceversa: objects from resources with objects from source code
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply