Skip to content

Commit 3278480

Browse files
committed
fix win bug
1 parent 3766793 commit 3278480

File tree

9 files changed

+386
-8
lines changed

9 files changed

+386
-8
lines changed
Lines changed: 354 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,354 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
##
4+
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5+
6+
# User-specific files
7+
*.suo
8+
*.user
9+
*.userosscache
10+
*.sln.docstates
11+
12+
# User-specific files (MonoDevelop/Xamarin Studio)
13+
*.userprefs
14+
15+
# Build results
16+
[Dd]ebug/
17+
[Dd]ebugPublic/
18+
[Rr]elease/
19+
[Rr]eleases/
20+
x64/
21+
x86/
22+
bld/
23+
[Bb]in/
24+
[Oo]bj/
25+
[Ll]og/
26+
27+
# Visual Studio 2015/2017 cache/options directory
28+
.vs/
29+
# Uncomment if you have tasks that create the project's static files in wwwroot
30+
#wwwroot/
31+
32+
# Visual Studio 2017 auto generated files
33+
Generated\ Files/
34+
35+
# MSTest test Results
36+
[Tt]est[Rr]esult*/
37+
[Bb]uild[Ll]og.*
38+
39+
# NUNIT
40+
*.VisualState.xml
41+
TestResult.xml
42+
43+
# Build Results of an ATL Project
44+
[Dd]ebugPS/
45+
[Rr]eleasePS/
46+
dlldata.c
47+
48+
# Benchmark Results
49+
BenchmarkDotNet.Artifacts/
50+
51+
# .NET Core
52+
project.lock.json
53+
project.fragment.lock.json
54+
artifacts/
55+
**/Properties/launchSettings.json
56+
57+
# StyleCop
58+
StyleCopReport.xml
59+
60+
# Files built by Visual Studio
61+
*_i.c
62+
*_p.c
63+
*_i.h
64+
*.ilk
65+
*.meta
66+
*.obj
67+
*.pch
68+
*.pdb
69+
*.pgc
70+
*.pgd
71+
*.rsp
72+
*.sbr
73+
*.tlb
74+
*.tli
75+
*.tlh
76+
*.tmp
77+
*.tmp_proj
78+
*.log
79+
*.vspscc
80+
*.vssscc
81+
.builds
82+
*.pidb
83+
*.svclog
84+
*.scc
85+
86+
# Chutzpah Test files
87+
_Chutzpah*
88+
89+
# Visual C++ cache files
90+
ipch/
91+
*.aps
92+
*.ncb
93+
*.opendb
94+
*.opensdf
95+
*.sdf
96+
*.cachefile
97+
*.VC.db
98+
*.VC.VC.opendb
99+
100+
# Visual Studio profiler
101+
*.psess
102+
*.vsp
103+
*.vspx
104+
*.sap
105+
106+
# Visual Studio Trace Files
107+
*.e2e
108+
109+
# TFS 2012 Local Workspace
110+
$tf/
111+
112+
# Guidance Automation Toolkit
113+
*.gpState
114+
115+
# ReSharper is a .NET coding add-in
116+
_ReSharper*/
117+
*.[Rr]e[Ss]harper
118+
*.DotSettings.user
119+
120+
# JustCode is a .NET coding add-in
121+
.JustCode
122+
123+
# TeamCity is a build add-in
124+
_TeamCity*
125+
126+
# DotCover is a Code Coverage Tool
127+
*.dotCover
128+
129+
# AxoCover is a Code Coverage Tool
130+
.axoCover/*
131+
!.axoCover/settings.json
132+
133+
# Visual Studio code coverage results
134+
*.coverage
135+
*.coveragexml
136+
137+
# NCrunch
138+
_NCrunch_*
139+
.*crunch*.local.xml
140+
nCrunchTemp_*
141+
142+
# MightyMoose
143+
*.mm.*
144+
AutoTest.Net/
145+
146+
# Web workbench (sass)
147+
.sass-cache/
148+
149+
# Installshield output folder
150+
[Ee]xpress/
151+
152+
# DocProject is a documentation generator add-in
153+
DocProject/buildhelp/
154+
DocProject/Help/*.HxT
155+
DocProject/Help/*.HxC
156+
DocProject/Help/*.hhc
157+
DocProject/Help/*.hhk
158+
DocProject/Help/*.hhp
159+
DocProject/Help/Html2
160+
DocProject/Help/html
161+
162+
# Click-Once directory
163+
publish/
164+
165+
# Publish Web Output
166+
*.[Pp]ublish.xml
167+
*.azurePubxml
168+
# Note: Comment the next line if you want to checkin your web deploy settings,
169+
# but database connection strings (with potential passwords) will be unencrypted
170+
*.pubxml
171+
*.publishproj
172+
173+
# Microsoft Azure Web App publish settings. Comment the next line if you want to
174+
# checkin your Azure Web App publish settings, but sensitive information contained
175+
# in these scripts will be unencrypted
176+
PublishScripts/
177+
178+
# NuGet Packages
179+
*.nupkg
180+
# The packages folder can be ignored because of Package Restore
181+
**/[Pp]ackages/*
182+
# except build/, which is used as an MSBuild target.
183+
!**/[Pp]ackages/build/
184+
# Uncomment if necessary however generally it will be regenerated when needed
185+
#!**/[Pp]ackages/repositories.config
186+
# NuGet v3's project.json files produces more ignorable files
187+
*.nuget.props
188+
*.nuget.targets
189+
190+
# Microsoft Azure Build Output
191+
csx/
192+
*.build.csdef
193+
194+
# Microsoft Azure Emulator
195+
ecf/
196+
rcf/
197+
198+
# Windows Store app package directories and files
199+
AppPackages/
200+
BundleArtifacts/
201+
Package.StoreAssociation.xml
202+
_pkginfo.txt
203+
*.appx
204+
205+
# Visual Studio cache files
206+
# files ending in .cache can be ignored
207+
*.[Cc]ache
208+
# but keep track of directories ending in .cache
209+
!*.[Cc]ache/
210+
211+
# Others
212+
ClientBin/
213+
~$*
214+
*~
215+
*.dbmdl
216+
*.dbproj.schemaview
217+
*.jfm
218+
*.pfx
219+
*.publishsettings
220+
orleans.codegen.cs
221+
222+
# Including strong name files can present a security risk
223+
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
224+
#*.snk
225+
226+
# Since there are multiple workflows, uncomment next line to ignore bower_components
227+
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
228+
#bower_components/
229+
230+
# RIA/Silverlight projects
231+
Generated_Code/
232+
233+
# Backup & report files from converting an old project file
234+
# to a newer Visual Studio version. Backup files are not needed,
235+
# because we have git ;-)
236+
_UpgradeReport_Files/
237+
Backup*/
238+
UpgradeLog*.XML
239+
UpgradeLog*.htm
240+
ServiceFabricBackup/
241+
242+
# SQL Server files
243+
*.mdf
244+
*.ldf
245+
*.ndf
246+
247+
# Business Intelligence projects
248+
*.rdl.data
249+
*.bim.layout
250+
*.bim_*.settings
251+
252+
# Microsoft Fakes
253+
FakesAssemblies/
254+
255+
# GhostDoc plugin setting file
256+
*.GhostDoc.xml
257+
258+
# Node.js Tools for Visual Studio
259+
.ntvs_analysis.dat
260+
node_modules/
261+
262+
# Visual Studio 6 build log
263+
*.plg
264+
265+
# Visual Studio 6 workspace options file
266+
*.opt
267+
268+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
269+
*.vbw
270+
271+
# Visual Studio LightSwitch build output
272+
**/*.HTMLClient/GeneratedArtifacts
273+
**/*.DesktopClient/GeneratedArtifacts
274+
**/*.DesktopClient/ModelManifest.xml
275+
**/*.Server/GeneratedArtifacts
276+
**/*.Server/ModelManifest.xml
277+
_Pvt_Extensions
278+
279+
# Paket dependency manager
280+
.paket/paket.exe
281+
paket-files/
282+
283+
# FAKE - F# Make
284+
.fake/
285+
286+
# JetBrains Rider
287+
.idea/
288+
*.sln.iml
289+
290+
# CodeRush
291+
.cr/
292+
293+
# Python Tools for Visual Studio (PTVS)
294+
__pycache__/
295+
*.pyc
296+
297+
# Cake - Uncomment if you are using it
298+
# tools/**
299+
# !tools/packages.config
300+
301+
# Tabs Studio
302+
*.tss
303+
304+
# Telerik's JustMock configuration file
305+
*.jmconfig
306+
307+
# BizTalk build output
308+
*.btp.cs
309+
*.btm.cs
310+
*.odx.cs
311+
*.xsd.cs
312+
313+
# OpenCover UI analysis results
314+
OpenCover/
315+
316+
# Azure Stream Analytics local run output
317+
ASALocalRun/
318+
319+
# MSBuild Binary and Structured Log
320+
*.binlog
321+
322+
323+
# Prerequisites
324+
*.d
325+
326+
# Compiled Object files
327+
*.slo
328+
*.lo
329+
*.o
330+
*.obj
331+
332+
# Precompiled Headers
333+
*.gch
334+
*.pch
335+
336+
# Compiled Dynamic libraries
337+
*.so
338+
*.dylib
339+
*.dll
340+
341+
# Fortran module files
342+
*.mod
343+
*.smod
344+
345+
# Compiled Static libraries
346+
*.lai
347+
*.la
348+
*.a
349+
*.lib
350+
351+
# Executables
352+
*.exe
353+
*.out
354+
*.app

Group-Video/OpenVideoCall-Windows/OpenVideoCall/AGVideoWnd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ int CAGVideoWnd::OnCreate(LPCREATESTRUCT lpCreateStruct)
261261
return -1;
262262

263263
// TODO: 在此添加您专用的创建代码
264-
m_wndInfo.Create(NULL, NULL, WS_CHILD | WS_VISIBLE, CRect(0, 0, 192, 28), this, IDC_STATIC);
264+
m_wndInfo.Create(NULL, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, CRect(0, 0, 192, 28), this, IDC_STATIC);
265265

266266
return 0;
267267
}

Group-Video/OpenVideoCall-Windows/OpenVideoCall/EnterChannelDlg.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,4 +226,21 @@ void CEnterChannelDlg::SetVideoString(LPCTSTR lpVideoString)
226226
void CEnterChannelDlg::CleanEncryptionSecret()
227227
{
228228
m_ctrEncKey.SetWindowText(_T(""));
229+
}
230+
231+
232+
void CEnterChannelDlg::SetCtrlPos()
233+
{
234+
CRect ClientRect;
235+
236+
GetClientRect(&ClientRect);
237+
238+
m_ctrChannel.MoveWindow(ClientRect.Width() / 2 - 160, 128, 320, 22, TRUE);
239+
m_ctrEncKey.MoveWindow(ClientRect.Width() / 2 - 160, 176, 140, 22, TRUE);
240+
m_cmbEncType.MoveWindow(ClientRect.Width() / 2 + 50, 173, 120, 22, TRUE);
241+
242+
int height = 36;
243+
m_btnJoin.MoveWindow(ClientRect.Width() / 2 - 180, 310, 360, height, TRUE);
244+
m_btnTest.MoveWindow(ClientRect.Width() / 2 - 180, 355, 108, height, TRUE);
245+
m_btnSetup.MoveWindow(ClientRect.Width() / 2 - 60, 355, 240, height, TRUE);
229246
}

Group-Video/OpenVideoCall-Windows/OpenVideoCall/EnterChannelDlg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class CEnterChannelDlg : public CDialogEx
1919

2020
void SetVideoString(LPCTSTR lpVideoString);
2121
void CleanEncryptionSecret();
22-
22+
void SetCtrlPos();
2323
// 对话框数据
2424
enum { IDD = IDD_ENTERCHANNEL_DIALOG };
2525

0 commit comments

Comments
 (0)